Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

3
votes
2answers
62 views

Can't dual boot Windows 7 and Linux Kali

Long story short, I don't want to / can't use Kali on a VM properly. I want to set up a dual boot machine. I've done the following: I downloaded the Kali ISO and used Win32DiskImager to put it onto ...
0
votes
1answer
25 views

compiling php 5.4 and higher with mysql

i'm running a pile of mediawiki instances on oracle enterprise linux and i'm trying to upgrade from 1.19.x to the latest LTS version, 1.23.x. i'm currently using php 5.3 and due to some odd issues ...
1
vote
2answers
23 views

Repairing from Live USB

I need to repair a network related package (Samba) that is preventing my system from booting. (mint 17). I have a bootable USB stick with the same OS. How would I fix the broken package on my hard ...
1
vote
2answers
40 views

Determine ethernet speed in RHEL 6

How to check whether eth0 has connection speed 10Mbit, 100Mbit or 1Gbit? I tried ethtool, but it says No data available. I also tried dmesg | grep -i duplex and it's empty. [root@dioptase ~]# lspci ...
-1
votes
0answers
32 views

display directories without any sub directories [duplicate]

Display all the directories throughout your login which does not contain any sub – directories.it means it should not display the directories which contain any sub directory or folder. for e.g. i ...
0
votes
2answers
36 views

Arch linux get network interfaces names

I need to get all intefaces names in Arch linux. If I issue command ifconfig, I get following response: [root@pi ~]# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ...
0
votes
0answers
7 views

What are the /proc/drivers directories organisation for nouveau or radeon

The context: I need to get some basic informations from the graphic card in a lib in lua. The idea is to not rely on external software (like hwinfo for example). I know that for a system with an ...
0
votes
1answer
15 views

Does network interface device have device inodes [duplicate]

Does network devices have device nodes because i have looked inside /dev directory and have not found any corresponding device node although it's up and running
2
votes
1answer
26 views

What entropy sources are used by the Linux kernel?

man 4 random has a very vague description of Linux kernel entropy sources: The random number generator gathers environmental noise from device drivers and other sources into an entropy ...
1
vote
1answer
59 views

Mounting a NFS file system by changing default owner

I want to mount a NFS file system with user/group ownership of <admin> . How it can be done ? mkdir /cert chown admin.admin /cert mount -t nfs 192.168.2.149:/portalweb /cert/
0
votes
2answers
50 views

I need to run a one line startup script under gnome and systemd

nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1 now what is the easiest way to run this one bash line of code at startup??? I am running Gnome 3.14.
0
votes
0answers
6 views

vmxnet3 multiqueue support in vmware workstation

I'm working on an application based on RSS multiqueue(receive side scaling), and testing it on vmware workstation, but found that vmxnet3 nic have problem with RSS. My linux virtual machine has 4 ...
0
votes
0answers
16 views

WiFi randomly cuts on/off, other machines in the house unaffected

I just recently installed Fedora 20 on my Macbook Pro. I followed the guides on the internet and as most of them suggested, installed akmod-wl to handle my Wifi device. The output of lspci regarding ...
0
votes
1answer
14 views

Mechanism of multiple call for one script in the same time

Maybe this question is stupid Anyway I have the ruby script which is calling from different places in the same time(with defferent options). Is it safely and how this mechanism realized in linux? I ...
0
votes
3answers
56 views

what the best approach in order to compress directory with Hundreds of sub directories [closed]

Under /usr/cti/APP_sys, I have hundreds of directories and subdirectories and files, etc. I wonder what the best approach in order to compress the /usr/cti/APP_sys directory (get the best low ...
0
votes
0answers
44 views

ssh: connect to host 104.131.76.121 port 10222: Connection refused

I have been trying to solve this problem for quite some time. The error is in the title. The server is a digitalocean ubuntu 14.04. It was working before hand. I changed the ServerAliveInterval on ...
0
votes
0answers
18 views

Linux WinPower Setup

I am currently installing the WinPower UPS communication software but I am running into an error. I have installed it successfully without errors. ./agent start starts agent ok ./monitor this ...
1
vote
1answer
20 views

Number of open file descriptors won't change when I set them in CentOS 6.3?

uname -a Linux lab.testing.com 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 i686 i386 GNU/Linux ulimit -Hn 1024 ulimit -Sn 1024 ulimit -n 1024 I opened /etc/sysctl.conf in vi and added ...
0
votes
1answer
22 views

Memory Required for SSH-only Linux Setup

I am attempting to set up a minimal Debian or CentOS installation for internal network access. The purpose of the setup will be to allow SSH access into the rest of the internal network—that's it. It ...
0
votes
1answer
13 views

Backup and restore of raid1 device, after OS upgrade

We have a physical RedHat server with two 60GB local disks, and two RAID 1 devices on them. There are also a few multipathed SAN luns. Disk /dev/sda: 60.0 GB, 60022480896 bytes Device Boot ...
0
votes
0answers
41 views

Cannot go in sleep mode in Linux Mint

I'm using Linux Mint 17.1. Whenever I try to put my laptop in sleep mode, it seems to do it for a second then wake up immediately. I've checked the logs but cannot see why could wake it up right away. ...
-1
votes
0answers
37 views

How to run the script that requires root acccess as a regular user without adding that user to sudoers?

I have an account with root privileges and need to run the install script for a specific user. I don't want/can't analyse the script upfront to figure out the list of all other packages it is going to ...
0
votes
0answers
10 views

Can't locate Cairo.pm in @INC

I am running prinseq for trimming my data but got this error: Can't locate Cairo.pm in @INC (@INC contains: /home/A/software/vcftools_0.1.11/perl How do I install this?
0
votes
0answers
24 views

How to grant sudo permission for a .py script on a apache folder?

I've exemplo.py in an folder /opt/lampp/htdocs/cgi-local/exemplo.py folder. The script creates a socket that needs super user permissions. My question was a little confusing? I need to access ...
1
vote
1answer
44 views

How to change (increase) number of lines in screen?

Connecting from Windows to Linux (CentOS 5.4) using PuTTY. Console set at 140col 60 lines. Not much else changed from default. Connection is via serial cable to the box. On Linux, installed and ...
1
vote
1answer
32 views

Why most apps try to use OSS if /dev/dsp is present?

So why most applications apparently try to use OSS if /dev/dsp is present on a system where more advanced audio servers (ALSA or PulseAudio) are also available? I experience this after installing ...
1
vote
1answer
31 views

How to collect disk read/write activity over a given period of time?

Sometimes, especially upon login, I have a lot of disk activity. I can use iotop to see what's doing that at a given moment, but I would like to have an integral table over a given time, say the first ...
3
votes
0answers
33 views

Can't connect to some WiFis, Linux on Macbook Pro

I just recently installed Fedora 20 on my Macbook, with MATE desktop. Everything is fine at home (WiFi WPA2, connects without any issues whatsoever). Today is my first day back at Uni with the new ...
2
votes
1answer
15 views

does the second kernel need kexec enabled

It's clear that you need the kexec syscalls in the 'first' kernel. But does the kernel that should get loaded (with kexec_load and reboot) need to be compiled with kexec? If yes, what extra code ...
4
votes
2answers
164 views

Print repeating pattern

I have a marathon file from which I want to print the names of the runners, who have made multiple runs. Something like: M, 2:08:58.0, John Lukas, USA, 1997-07-25, Paris, France F, 2:15:04:0, Abebbe ...
1
vote
1answer
23 views

Killing a process with cron as soon as it starts

I want to stop dropbox from running as soon as I log into my account. Now I know I could do this simply by going to Startup Applications and disabling dropbox. But I was wondering if there is a ...
1
vote
0answers
21 views

pacemaker hangs while stopping

I have recently installed pacemaker and corosync for managin a virtual IP. The thing is that when I want to stop a resource (Virtual IP) on all the nodes, the stop command hangs. [root@isis ~]# sudo ...
1
vote
1answer
30 views

SELinux Sandbox Usage

What am I doing wrong in the following, from the man file and internet it looks like this is right. $ echo "hello world" 1> test $ sandbox -i test cat test /usr/bin/cat: test: Permission denied
2
votes
0answers
17 views

BTRFS - Raid incomplete after balancing

I have two 3TB drive that are formated as btrfs and mounted on /media/andy/btrfs as one drive. I run btrfs balance start -dconvert=raid1 -mconvert=raid1 /media/andy/btrfs/ which takes forever. It ...
1
vote
0answers
16 views

How can I guarantee USB wlan0/wlan1 order? [duplicate]

From doing research, I think I understand that the order of wlan0 and wlan1 ( and so on ) is determined by the order that the USB devices are recognized. My question is whether or not this order is ...
0
votes
0answers
30 views

Help I need xserver 1.13.0 for my AMD Catalyst 13.1

So I got myself linux mint 14 and put it on a usb then booted up . When in menu I opened file manager scrolled to /usr/bin . I then copied Xorg and emailed the 1.13.0 xserver to my linux mint 17 xfce ...
0
votes
0answers
20 views

No sound in arch linux with xfce4

I have installed Arch Linux with Xfce4, I installed alsa-firmware, utils and plugins. I haven't installed PulseAudio. I have no sounds in my laptop at all :/ I have unmuted in alsamixer my speakers. ...
0
votes
0answers
12 views

linux vlan bridge feature backport to 2.6 kernels

The VLAN-aware bridge was introduced to the Linux mainline on the 3.x kernels, according to this article on lwn: VLAN filtering/VLAN aware bridge Has this feature been backported to the 2.x kernels ...
0
votes
0answers
12 views

DNS Issues On ISPconfig3

I use ISPconfig3 to host a couple of test sites. I recently had to change my public IP address, so I made changes to ISPconfig per recommendations from the community. However, I have not been able to ...
0
votes
1answer
12 views

Clonezilla fails while cloning/imaging the entire HDD

I am using Clonezilla Live DVD to image my entire HDD consisting of several partitions. An overview of the partitions can be seen in the following excerpt from the log file of Clonezilla: Machine: ...
4
votes
5answers
157 views

How to display welcome message in unix? [duplicate]

What is the command to display the welcome message as "welcome panni" every time i log into unix.
0
votes
0answers
26 views

To disply welcome message every time i log into unix [duplicate]

i have tried the below code to display login message every time i log into unix, etc/motd welcome but it didnt work, pls help me with your suggestions.
0
votes
0answers
31 views

deleting admin directory after deleting an admin user

I am creating Admin accounts using this command, sudo useradd *new-admin-username* -s /bin/bash -g sudo -m It creates the admin's directory in the /home/.. Moreover, since these are admin, I can ...
0
votes
1answer
20 views

run something as another user without admin

i have two users without passwords "plex" & "debian-transmission". I need "debian-transmission" to be able to tell "plex" to execute export ...
-2
votes
1answer
33 views

How to add StartUp application in Arch Linux [closed]

I am using Arch Linux, I want to add a start-up program in Arch Linux. How to add start-up program which will execute after login after every boot ? Note: I am not system administrator, I am just a ...
1
vote
0answers
43 views

Creating my own shell [closed]

I'm trying to create my own shell,but I have some trouble implementing the following: I need to get the previous command when a down arrow is pressed however,whenever it is pressed I get the following ...
4
votes
1answer
39 views

Make a copy of the audio output into a file

How to get the sound that I can hear in my headphones into a file or into a variable in my C/C++ program? I'd like something like the framebuffer for images. My main goal is sending sound to another ...
0
votes
0answers
31 views

Kernel panic - not syncing: No init found

I am trying to build the linux kernel image for the Beaglebone black right from scratch! i am following the tutorials referred by Free-electrons(http://free-electrons.com/training/kernel/) I am ...
1
vote
0answers
10 views

Frugal installation on WIN 7 no admin rights

Laptop from my work has WIN 7 Enterprise, but I have no admin rights on it and under no circumstances I would change partitions. However it does boot from USB. As I want to use Linux on a regular ...
0
votes
1answer
17 views

HP SmartArray RAID5 recovery on linux

This is a long time in the making, and I've finally got it working so I thought I'd share this with as many people as I can in case they're in a similar situation. Long story short - HP SmartArray ...