Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

3
votes
1answer
2k views

What's the correct way to have a `backup` user who is able to read everything to create backups with rsnapshot?

I'd like to use rsnapshot to backup my local computer as well as two remote machines to a portable storage device. My plan was to use rsnaphot on the local machine, create a backup user on the remote ...
1
vote
1answer
607 views

Kernel panic and keyboard led flashing

My server recently just froze. I was unable to ping it, It did not respond to any keystrokes at all and the caps lock and scroll lock was flashing in unison with a steady off-on-off-on rate approx. ...
2
votes
3answers
743 views

Create ethernet loop network - how to configure routes

I have a network that has to be configured as a loop. It consists on 3 nodes each of which has two interfaces. The diagram below explains it. +--->(eth0) Node 1 (eth1)--->(eth0) Node 2 ...
2
votes
1answer
4k views

How to install vboxnetflt and vboxnetadp kernel modules on Arch Linux guest?

I am attempting to create an Arch Linux Virtualbox 4.2.6 guest, and I have need of a Host-Only network. I have read in multiple places that I need to load the kernel modules vboxnetflt and vboxnetadp ...
5
votes
5answers
2k views

Trouble using wget or httrack to mirror archived website

I am trying to use wget to create a local mirror of a website. But I am finding that I am not getting all the linking pages. Here is the website ...
0
votes
3answers
401 views

What does -p do on shell script?

Does on -p [val] from shell start a process at a specific priority?
4
votes
5answers
7k views

How to display the file contents recursively?

I always have to submit the source codes in my printed assignment report. I have to copy and paste my course codes into the document and I find that it is an annoying task. I want to solve this "copy ...
0
votes
0answers
33 views

Git Clone imreachable. Timeout error [duplicate]

Possible Duplicate: How do I install the “fade” filter for FFmpeg? I have tried to perform the following commands git clone git://source.ffmpeg.org/ffmpeg git clone ...
4
votes
1answer
2k views

Installing libctemplate.so.2 and libzip.so.2 packages on Fedora 16

While trying to install a MySql Workbench I am getting the following errors: Error: Package: mysql-workbench-gpl-5.2.45-1fc17.i686 (/mysql-workbench-gpl-5.2.45-1fc17.i686) Requires: libzip.so.2 ...
-1
votes
2answers
115 views

SSH Linux server does not execute all commands properly

I connect to my webserver with Putty through SSH + password and wanted to generate a pair of keys to do the login for me. Unfortunately, the command gets somehow 'stuck'.. as you can see on the ...
0
votes
1answer
2k views

Aspire V5-531 Operating System Not Found

I recently purchased an Acer Aspire V5-531. I replaced the 320GB HDD with a 120GB Kingston SSDNow V200 and installed Linux booting with rEFInd. Due to a necessary change, I have to move back to ...
1
vote
2answers
1k views

How to compare two lossless audio files?

I have an M4A file which is also converted to a FLAC file. I'd like to see if the conversion is lossless, namely, whether the output to pcm from M4A is exactly identical to the one from FLAC decoding. ...
0
votes
1answer
414 views

Networking of two computers over wifi+ethernet

I have two computers, both running Arch Linux. My desktop is running headless, constantly plugged into the ethernet jack in my room. My university has a campus-wide wifi network that I can use with ...
3
votes
1answer
436 views

Terrible multi-threaded performance in Kubuntu in VirtualBox in Debian machine

We have an unpleasant performance issue when running our multi-threaded rendering software inside a virtual machine. We are running Kubuntu 12.04 in a VirtualBox 4.0.10_Debianr72436 which runs ...
2
votes
1answer
70 views

ssh not working with yes

I had to solve a fringe case lately where I had to add a number of server fingerprints to a user's known_hosts (the authorization is performed with a keypair). I thought the easiest solution would be ...
0
votes
2answers
94 views

submitting jobs to a Linux workstation

I have access to some Linux Workstations on which I run my C++ executable files from my Laptop but the problem is that each time I run a job from the terminal in my laptop I have to keep a terminal ...
1
vote
1answer
98 views

script not found even though it's in PATH

Have a look at this terminal output... bjorn@jungleland:~$ cd bin bjorn@jungleland:~/bin$ ./first.sh Hello World bjorn@jungleland:~/bin$ cd .. bjorn@jungleland:~$ pwd /home/bjorn bjorn@jungleland:~$ ...
3
votes
1answer
374 views

How do I use cpulimit with ImageMagick?

I am converting (using ImageMagick) a directory of image files (using a bash for loop in shell). I notice that "convert" is taking up a large amount of CPU use (88% and up). However, If I try to ...
0
votes
0answers
149 views

Wireless unavailable in Fedora 17 running on Samsung Series 5

I installed Fedora 17 on my laptop (Samsung Series 5), and everything is OK except the wireless. I've tried to activate it but I couldn't. On the top right corner, "unavailable" is next to the ...
6
votes
2answers
834 views

What does the output of fdisk mean?

I've got a flash drive and I want to understand the properties of it as is outputted from fdisk. I inserted it and check the dmesg and I could see that it was mounted as /dev/sdb1 so I ran fdisk to ...
2
votes
0answers
101 views

Why aren't the options reflected in mount's output?

# mount -t ntfs-3g -o no_def_opts,windows_names,noatime,uid=1000,gid=1000 /dev/disk/by-id/ata-Maxtor_6V250F0_V593GLTG-part1 /mnt/ata-Maxtor_6V250F0_V593GLTG/ # mount /dev/sda1 on ...
0
votes
0answers
722 views

How to stop Google Chrome from starting in Incognito mode?

I am using Linux Crunchbang with Openbox on my Acer Aspire 5536 laptop. When I click on the Google Chrome icon it starts in Incognito mode. How can I stop that, so it starts normally?
3
votes
1answer
228 views

How to make a filesystem readonly by default?

I am not talking about tweaking fstab or about the use of the "mount" program... I was thinking of tune4fs, btrfstune and the like : I'd like to know if you've heard of any filesystem being able to ...
1
vote
1answer
1k views

Trying key based password-less SSH login to remote computer but still being asked for password

Trying to SSH in to remote computer but still asking for password. I have a number of computers running SElinux and only one of them is giving me a hard time using ssh without the password. I did ...
0
votes
2answers
4k views

Disable the screensaver in Red Hat

I am using Red Hat Enterprise Linux WS release 4 (Nahant Update 2). Please help to disable the screensaver.
0
votes
1answer
109 views

How can we upgrade old GCC 3.4 to GCC 4.1 on Fedora 3?

How can we upgrade the old GCC from version 3.4 to 4.1(that is from GCC 3.4 to GCC 4.1 or above) on Fedora 3 (version is 2.6.10)? More information: We are developing an application which will be ...
1
vote
0answers
295 views

How to fix NFS V3 + TCP mount failing with 'Can't read superblock' error soon after an unmount?

Using NFS V3 and TCP!, portmapper is running. Not using iptables. Following are the options used: rw,noatime,v3,rsize=32768,wsize=32768,hard,intr,nolock,proto=udp,udp,timeo=11,retrans=5 If I wait ...
1
vote
3answers
2k views

How to disable font smoothing on Firefox 18 for Linux?

On my Ubuntu 12.10 machine, I've updated Firefox to version 18 some minutes ago. After that, fonts on sites are too smooth and now it's difficult to read for me. I found some advices about my problem ...
0
votes
2answers
849 views

Copy all files from one location to another in Linux, without copying the directory itself

I want to copy some or all files from a directory test/A/ to directory test/B/, but without copying directory A itself. I tried the command cp -R test/A/ test/B, but it copies the directory and the ...
0
votes
1answer
2k views

How to downgrade Linux kernel

I have a Linux machine running RHEL3.8 with kernel release 2.4.21-66.ELsmp. How can I downgrade the Linux kernel to 2.4.21-47.ELsmp? Second: About the last kernel upgrade, can we find logs somewhere ...
1
vote
2answers
2k views

How to Copy Large Directory to External Hard Drive Linux

I've formatted a 3TB external hard drive as ext4 using fdisk (actually gnu fdisk), mounted it at /media/external and am trying to copy my entire home directory to it. My first attempt I thought was ...
0
votes
1answer
63 views

Signals: Kernel-generated only?

Can processes really "generate" signals or they just request the kernel to send the signal on their behalf? And what about hardware interrupts? Do they get translated to software interrupts? Like, ...
0
votes
1answer
2k views

unable to open a file in gedit from the terminal when I login as root

When I try to open a file named tester.php from gedit by logging in as root, I see this : [root@Feddy htdocs]# gedit tester.php (gedit:4310): EggSMClient-WARNING **: Failed to connect to the session ...
0
votes
1answer
344 views

Try to make a rpm packet of httpd 2.4.3

my spec file is: %prep tar zxvf $RPM_SOURCE_DIR/httpd-2.4.3.tar.gz %build %install cd httpd-2.4.3 ./configure -prefix=/usr/local/apache make make install %preun if [ -z "`ps aux|grep httpd | grep ...
1
vote
1answer
387 views

Sort top 10 processes by the number of threads each created in Linux

I have a Linux/Debian server running: postgresql, tomcat. Sometimes, I can't access server by ssh. When I open ssh connection with my server, I can type in my log-in id(root) and password, but when ...
0
votes
1answer
350 views

Change owner of file without being root

I suggest that I have a log file with 666 permission and its owner is alice. So user 'bob' can change its owner by this: cp log log.temp; rm log; mv log.temp log So how can I fix this risk?
1
vote
1answer
735 views

MySQL database neither exists nor doesn't

I've just encountered a very strange situation on my development machine: the database is listed in PHPMyAdmin, but without any tables. Intrigued, I opened up a mysql client on the command line, and ...
2
votes
2answers
259 views

Resizing a Linux VM's root partition in after its virtual disk has been given extra space

System Debian 6 / 32 bit VSphere Goal Resize main partition to utilize all resources now available. Issue I increased the disk space on my vm instance in Vsphere however I'm new to Linux and ...
0
votes
1answer
467 views

Amazon EC2 linux user accounts

I have a Linux AMI setup on EC2. The default user is ec2-user. I created a second user account on the instance. I copied the .ssh/authorized_keys file from ec2-user home directory to the new user's ...
1
vote
3answers
4k views

How to create an image of a Live system over ssh?

I have a question about a FreeBSD server that I cannot access at the moment. But because we would like to try some new stuff we want to create a backup of this system first. The question is: is ...
5
votes
1answer
2k views

Arch Linux Install, Why is arch-chroot giving me an error?

I'm following the Arch Linux install instructions found here from a live cd, and I'm stuck issuing the following command: # arch-chroot /mnt mount: sys is already mounted or /mnt/sys busy sys ...
9
votes
3answers
19k views

How to find which files and folders were deleted recently in Linux?

I am having one particular folder (/home/sam/officedocuments) which is having hundreds of folders and files. I think I deleted some files and folders by mistake but I'm not sure. How to find which ...
1
vote
2answers
6k views

How make bootable usb with Windows XP liveCD from linux (debian)

how to create bootable USB with Windows XP liveCD. For Linux liveCD/DVD I can write cat <debian-iso> > /dev/<flash-drive>, but in windows case this doesn't works
0
votes
2answers
86 views

Map open port to process [duplicate]

Possible Duplicate: Finding the process that is using a certain port in Linux How may I find out which process(daemon) is listening on a given port if I do not have a service that would ...
1
vote
1answer
1k views

Why are Windows 7&8 so much slower than Linux Mint on the same SSD? [closed]

I have an MSI Windpad, which has good hardware but terrible performance issues with Windows 7 & 8 (upgraded to 8 to see if performance got any better - nope!). I'm sure the problem must be with ...
7
votes
1answer
8k views

How can I use tar command to group files without compression?

I have a very large folder of 120,000+ files. and I need to move them to another location on my same machine (same partition). I'd like to use the tar command to group them up as a single unit and ...
1
vote
0answers
281 views

webdav davfs2 input/output error

I've got a box.com account configured in a Linux system so a user can mount it in a certain mountpoint and access its contents. It is declared in fstab as: https://www.box.com/dav /media/box davfs ...
84
votes
16answers
49k views

How to delete all files in a directory except some?

I need to delete all files in a directory, but exclude some of them. For example, in a directory with the files a b c ... z, I need to delete all except for u and p. Is there an easy way to do this?
3
votes
2answers
6k views

Set Network Proxy Linux

I have a raspberry pi and I need to set a network proxy for both apt and browser. How do I do this? The only thing I have found is to use the following lines in the bash.bashrc file export ...
0
votes
1answer
49 views

Should restarting a Linux host from within a cfengine policy be avoided?

Specifically, if cfengine is used to install the most recent version of an onboard device's firmware and do some tests to see if a reboot is required, and the results indicate that the machine needs a ...