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

2
votes
3answers
3k views

How can I change the creation time of all a folder's files to the current time?

Under a Linux shell, how can I change the creation time of all a folder's files to the current time?
1
vote
1answer
466 views

Change the order of all boot entries in GRUB2, not just the first

It's quite easy to change the default boot entry through etc/default/grub. However, this only allows for the first entry to be changed. I want to be able to move all the entries in any order I like. ...
37
votes
2answers
44k views

Can I create an SSH user which can access only certain directory?

I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously. I would like to create another ...
5
votes
1answer
1k views

What do the number suffixes in Linux dynamic libraries mean?

Here's an example: ~$ ls /lib/*.so* | head -n 10 /lib/ld-2.13.so /lib/ld-Linux.so.2 /lib/libacl.so /lib/libacl.so.1 /lib/libacl.so.1.1.0 /lib/libanl-2.13.so /lib/libanl.so.1 /lib/libattr.so ...
1
vote
2answers
2k views

Linux command-line program that switches consoles?

For whatever reason, the "Ctrl-Alt-Fn" sequence has no effect on one of my Ubuntu machines; the sequence is interpreted as ordinary input. I need to get the system to a console because I'm trying to ...
15
votes
6answers
22k views

How do I uncompress vmlinuz to vmlinux?

I have already tried uncompress, gzip, and all other solutions that come up as google results and these have not worked for me. To get just the image search for the GZ signature - 1f 8b 08 00. ...
18
votes
5answers
2k views

Is it possible to speed up ./configure?

To compile a software package on a workstation with many CPU cores (say 12), the configuration stage often takes much longer than the actual compilation stage because ./configure does the tests one by ...
0
votes
3answers
1k views

Will Having a dual-boot Windows and Linux on my laptop cause it to slow down in general use?

I have Windows 7 on my Dell Xps laptop, and I want to install Ubuntu or Fedora as a dual-boot. Will that cause my system to slow down?
3
votes
1answer
502 views

Alternatives to Gentoo Prefix?

Are there any package managers that: work without root privileges, and install packages at a custom location (similar to ./configure --prefix), and install stable packages (unlike Gentoo Prefix ...
4
votes
2answers
1k views

how to configure Linux to call oom_kill on its own

I do not want my computer to swap data to disk. I have no swap partition: $ free total used free shared buffers cached Mem: 3841912 3670012 171900 ...
3
votes
2answers
4k views

Make `cp` choose no when prompted to overwrite

I have a list of files that I am copying around for various purposes. What my current command looks similar to this: cat list_of_files | xargs -I {} /bin/cp -f {} /destination/dir I am using the ...
0
votes
3answers
319 views

Format change data in file. Multiple sed commands?

I'd like some advice on changing the formatting of some data in a file. I have a large amount of data in a file. This is a output from a large Fortran program, it is formatted for a latex table. I ...
2
votes
2answers
5k views

Linux:How to hibernate after a period of sleep

One of the windows features I miss in linux is the following: In windows you close the notebook lid and the system suspends to RAM, after a while (configurable) the computer automatically wakes up and ...
2
votes
1answer
168 views

What does kernel entry in Grub configuration file mean

I have looked at the GNU GRUB Manual 1.99 at (http://www.gnu.org/software/grub/manual/grub.html) but I cannot find an explanation of what the kernel entry / command in the grub.conf file means. I get ...
3
votes
1answer
115 views

Play sound depending on command return status

Is there an utility which takes a command as argument, runs it and plays sound (or just beeps) depending on the return status? "Good" beep if it's success and "bad" beep if it's failure. So I can run ...
0
votes
2answers
400 views

Is there a HTTPFox for Ubuntu/Linux?

Is there an application in Linux that allows me to see all outbound HTTP requests like the HTTPFox Firefox plugin. In case you don't know about HTTPFox, the screenshot below shows what I am looking ...
2
votes
1answer
2k views

What is the filename (including path) of a WordPress database?

I have local Wordpress database that got corrupt as a result of an abrupt power outage (I wasn't even editing it!). Since the system I am dealing with is pretty static (and old), I just want to ...
0
votes
3answers
3k views

Linux PuTTY - automate su for password related issue

I am connecting to a server via PuTTY as follows: putty.exe -ssh user@host -pw password -noagent -m commands.txt After that I have to use: su someUser It will ask for a password - I have put ...
1
vote
1answer
149 views

Set permissions so that Apache and I will be able to edit files

I'm on a Mac, but I guess it applies to Linux too, since I'm using a command line. When I write web applications, the apache user (which is _www on a Mac) has to be able to edit files as well as me. ...
1
vote
1answer
84 views

Upgrading hard drive while saving existing system data, and allowing for a dual OS boot

I know this has been asked in individual parts, but I'm looking for a way to do this with the fewest steps and least pain. I have a laptop with Windows 7, and I want to make a move to a larger hard ...
2
votes
4answers
3k views

File still unwriteable in /var/www/html after the chmod command

I've got some trouble while trying to install some applications on my linux system. It is said that the files in my /var/www/html/xxx directory, where I put them, is not writeable. The command chmod ...
0
votes
2answers
300 views

What is a good strategy to maintain a set of binaries for Gentoo?

There is the world favourites file in which you can record your favourite packages, then there is the where you can record packages and compile whenever. Also there is http://paludis.pioto.org/. ...
2
votes
1answer
578 views

Find misses a match to glob pattern unless the pattern is made more specific

I was using find to search for a file on my machine like so: find / -name version-1.0.* and the result was just one file in my home directory, version-1.0.23. However, if I ran the following: find ...
1
vote
3answers
950 views

Making a Linux live CD bootable from Compact Flash (CF)?

Making a live CD using tools such as livecd-creator seems like a good solution to create a bootable read-only image to install on Compact Flash. My goal is to prevent failure due to write cycle ...
2
votes
3answers
845 views

Listing tar contents inside directory

this is the script I'm running tar tf some.tar somefolder_insidetar And output it's a list with all folders, files, and SUBDIRECTORY Files, the only thing I need it's just show the contents (folder ...
1
vote
2answers
438 views

Unix, find command, and false negative

Performing a search from the current directory where this file resides, this find command finds the file. # find . page.tpl.php However, when I search from a child directory, this command, # find ...
4
votes
1answer
4k views

resize2fs seems stuck at pass 3 (scanning inode table) - what to do?

I have a machine running Arch Linux (2010, I believe) with a 6TB RAID-5 array hooked up to a Highpoint RocketRaid 2320. I've been having issues with the RAID controller's drivers and the latest Linux ...
4
votes
3answers
4k views

How to restore MAC address in Linux?

I have changed my MAC address in my Linux machine using ifconfig. Now the problem is I have not saved my original MAC address. I want to restore it without rebooting. Is there a way to do it?
6
votes
1answer
1k views

What is a “zombie” task in top?

As the question implies, what is a zombie task/process in top?
3
votes
6answers
174 views

Load windows from within Linux

I have an unusual question and I think it is really hard :-) What I want to achive is a way to be able to remotly configure which operating system is booted on a client machine. E.g. I have Windows ...
2
votes
2answers
3k views

Getting WGET to display a less verbose output

Is it possible to get WGET to only show download progress e.g. download bar, opposed to all of the connection info, as it does look a little ugly on the client side, is this possible to do?
0
votes
3answers
4k views

how to fix yum errors on my RHEL 5.3 box

I am getting errors when I try to install any package on my RHEL 5.3 linux box. I've previously installed mc(midnight commander) using yum but recently it started failing. How can I fix it ? thank ...
40
votes
3answers
41k views

How do you check how much power a USB port can deliver?

Some laptops have a special USB port that can deliver more power than the other ones. However it is not always easy to identify which one is the good one, nor how much power it can deliver. So is ...
1
vote
2answers
244 views

How do I read User Guide in apt-doc on Ubuntu?

I just installed apt-doc package. My question is how do I read the User Guide in this package ? In general how do I use the items from a package once I install it ?
3
votes
2answers
2k views

Available Disk Space always 0%

I am running centos 5. So far, it gives no problem but just yesterday, when it reported "no free space" for file writing, I try to remove some file as usual. Unfortunately this time no matter how ...
0
votes
4answers
159 views

gWaei Translator for Windows?

Avoiding a full Cygwin-like install, is there some equivalent to the Japanese-English translation/reference tool gWaei from Ubuntu/Gnome, but for Windows? If not, what open source translators allow ...
5
votes
4answers
15k views

Is it possible to run Microsoft Excel under Ubuntu?

I have a dual boot system with Windows 7 and Ubuntu installed on my machine. I use Ubuntu much more often than Windows 7. On Ubuntu I can use LibreOffice Calc, but I'm more used to Microsoft Excel ...
4
votes
6answers
7k views

UNIX - How to copy and paste between different bash windows with files opend with VI?

Lets say I log in to bash, open a file in vi, then using alt-f2 I open a new terminal. After logging in I navigate to a second file and open that in vi. How can I CnP between these two files? I found ...
1
vote
2answers
139 views

linux compatible rack server [closed]

My boss wants to buy a rack server. I'll have to move there couple of .jsp and .php websites that are now hosted on shared linux servers. I would guess all modern servers are compatible with linux, ...
0
votes
1answer
4k views

changing /etc/profile does nothing to root PATH

rhel 5 root has /bin/bash for shell. I removed pathmunge /usr/local/sbin from /etc/profile. There is no /usr/local/sbin in /etc/profile.d/* /etc/bashrc /root/.bashrc /root/.bash_profile /root/.profile ...
166
votes
8answers
10k views

What do the parentheses and number after a Unix command or C function mean?

I keep seeing parentheses and a number after a command in Unix or Linux or C function. For example: man(8), ftok(2), mount(8), etc. What do these mean? I see them in man too.
1
vote
1answer
653 views

Handling network plug/unplug in (Debian) Linux

I want to run a script when the switch goes down and an other when it goes up. Is there an easy way to pull this off in Debian (preferably with no other than system tools)? I suppose there is no ...
8
votes
1answer
11k views

Why won't the Linux wall command broadcast a string argument?

I read here that this should work, but it doesn't: # usage: wall [file] root@sys:~> mesg is y root@sys:~> wall "who's out there" wall: can't read who's out there. If mesg is set to y, ...
1
vote
2answers
252 views

How to Repair Ubuntu boot

I have hard disk contain Windows 7 and Ubuntu 11 so I cloned it to new one but when I replaced it no OS working just dell mark appearing then restart by itself. In the past started up by Ubuntu menu ...
1
vote
3answers
1k views

Confirm that two filesystems are identical, ignoring special files

/media/A and /media/B should be identical, but I want to confirm before deleting one. Duplicate file finders don't work, because they'll find two copies of the same file within B, for instance. I ...
18
votes
4answers
4k views

sudo keeps asking me for my password in fish shell

sudo in Ubuntu keeps asking me for my password for every command. Previously, I only had to enter the password once, and then it would be remembered for a period of time. This recently changed, ...
0
votes
1answer
315 views

How to remove this ever occuring Warning, which appears every time I open a terminal?

How to remove this ever occuring Warning, which appears every time I open a terminal? * Warning: removing empty lock file * Error: failed to remove empty lock file * Error: failed to get the lock: ...
1
vote
2answers
1k views

What is rwfs filesystem?

I did a df on my embedded device and saw that the one of the filesystems mentioned was rwfs. What is rwfs ? df Filesystem 1k-blocks Used Available Use% Mounted on rwfs ...
0
votes
2answers
1k views

Change permission to mount disk with rdesktop on Ubuntu

I installed rdesktop 1.7 on Ubuntu 10.4 and ran the following commands: sudo umount /media/Tal sudo mount -t ntfs-3g -o uid=1000,gid=1000,umask=0000 /dev/sdb1 /media/Tal rdesktop -0 -r sound:local -f ...
11
votes
5answers
13k views

Store the output of date and watch command to a file

I am a newbie to linux and I am trying to watch a command and try to log it into a file. I tried watch -t -n 10 "(date '+TIME:%H:%M:%S' ; ps aux | grep "pattern" | wc -l)" >> logfile and am ...