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

20
votes
2answers
15k views

How do I create a relative symbolic link in Linux?

I need a symlink that resolves relative to the directory it is placed in. What command is used to create such a thing?
20
votes
3answers
8k views

Does rm -f follow symbolic links?

I have a directory like this: $ ls -l total 899166 drwxr-xr-x 12 me scicomp 324 Jan 24 13:47 data -rw-r--r-- 1 me scicomp 84188 Jan 24 13:47 lod-thin-1.000000-0.010000-0.030000.rda ...
20
votes
7answers
126k views

boot Windows from GRUB rescue

This is my situation: installed Ubuntu without a CD (using unetbootin) dual boot installation (Windows XP+Ubuntu) didn't like the installation and decided to boot into Windows and delete the Linux ...
20
votes
5answers
13k views

Save multiple gnome-terminal layout?

I have multiple gnome-terminal windows open. Is there a way to save the settings (window position, no. of tabs, title etc). across OS reboots ?
20
votes
10answers
5k views

Is there a Windows or Linux equivalent of Soulver calculator application? [closed]

I've just been shown a brilliant calculator app called Soulver which is only available on Mac OS X Maths on a Mac as it should be Soulver is a new kind of calculator application which uses a ...
20
votes
1answer
11k views

Ubuntu's /etc/alternatives mechanism

I'm trying to better understand Ubuntu's /etc/alternatives mechanism. The basics are easy: it allow for multiple "providers" to be installed on the same machine, and configures which is the default. ...
20
votes
4answers
29k views

What's the difference between .profile and .bash_profile, and when do you configure which? (Mac) [duplicate]

Possible Duplicate: Difference between .bashrc and .bash_profile What's the difference between .profile and .bash_profile, and when do you configure which? I.e if I configure the ...
19
votes
4answers
1k views

Should I kill zombie process in my system?

Since I'm newbie in Linux/Unix systems and just read about zombie processes, I have one question. I have 10 of them right now. Do I need to kill them and if yes, why? Are they a load on my system? ...
19
votes
4answers
22k views

Delete matching files in all subdirectories

How can I remove all .swp files in all of my subdirectories under Linux?
19
votes
4answers
27k views

How to type special characters in Linux?

In windows there is possibility to type from keyboard special signs by holding alt key and typing a few numbers, that depends on with sign you want to use. Does it work with linux in the same way?
19
votes
7answers
31k views

Can I boot Linux from a VHD?

Is there some way to boot a Linux system from a VHD in Windows 7? If there is a way, how do I put it there in the first place? EDIT: To clarify, I'm not trying to run Linux in a VM. I'm trying to ...
19
votes
4answers
48k views

How to gzip multiple files into one gz file?

I have 100 files: cvd1.txt cvd2.txt ... cvd100.txt How to gzip 100 files into one .gz file so that after I gunzip it, I should have cvd1.txt, cvd2.txt ... cvd100.txt separately? Thanks for your ...
19
votes
1answer
53k views

Give write permissions to multiple users on a folder in Ubuntu

There is a folder that is owned by user tomcat6: drwxr-xr-x 2 tomcat6 tomcat6 69632 2011-05-06 03:43 document I want to allow another user (ruser) write permissions on document folder. The two ...
19
votes
13answers
3k views

Tiling Window Manager

I've been looking into tiling window managers because I'm tired of manually positioning and resizing all my windows whenever I want to see some information side by side. However, the tiling window ...
19
votes
2answers
1k views

Linux Mint doesn't boot after creating a swap partition

When I was creating my Linux hard drive, I skipped creating a swap partition, thinking that 4GB would be enough RAM. Now, I think I do need a swap partition. I asked some people on IRC how to do this, ...
19
votes
6answers
1k views

Should I worry about malware on Linux? [closed]

I don't run an antivirus on Linux ( most people I don't AFAIK ) and I'm not at all concerned about any form of malware or spyware or any other_bad_ware. Should I by concerned? Of course I don't ...
19
votes
10answers
48k views

Differences between Ubuntu Linux and CentOS?

I'd like to know what are the difference between Ubuntu and CentOS. I'm new to the Linux world. Please help me understand which one is good for me to start out.
19
votes
4answers
12k views

Looping Through Subdirectories and Running a Command in Each

I have a set of repositories sorted into directories based on their VCS (Git, Mercurial, SVN). With Subversion I was able to run svn update * in the parent directory and it would loop through each ...
19
votes
8answers
72k views

How to get an inactive RAID device working again?

After booting, my RAID1 device (/dev/md_d0 *) sometimes goes in some funny state and I cannot mount it. * Originally I created /dev/md0 but it has somehow changed itself into /dev/md_d0. # mount ...
19
votes
6answers
3k views

zero fill vs random fill

Many tutorials suggest that i should fill a disk with /dev/urandom instead of /dev/zero if i want it to be unrecoverable. But I don't quite get it, how can a disk still be recoverable after being ...
19
votes
5answers
16k views

check the physical health of a USB stick in Linux

How to check the health status of a USB stick? How do I know that a USB is broken beyand repair, or repairable?
19
votes
2answers
18k views

Linux equivalent to robocopy?

It's kind of funny, there are a lot of ways in which Linux command line tools are vastly superior to Windows ones, but one thing I have not found an equivalent to is robocopy. Robocopy is way more ...
19
votes
3answers
17k views

How to join/merge many mp3 files?

Searching Google on how to join/merge many mp3 files, it suggests that I should just cat them together. That might "work", but clearly it is not the correct way to do it, as each header and set of ...
19
votes
2answers
4k views

Maximize window in tmux

tmux shows screen like this: [root@wpc-fc2 init]# |············ |············ ...
19
votes
3answers
8k views

How to: Unlimited Bash/shell history?

Is there a way to define an unlimited history in Bash ?
19
votes
1answer
31k views

Linux unzip command: Option to force overwrite?

I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace ...
19
votes
4answers
45k views

What Filesystem to use for Linux Ubuntu? [closed]

I am new to Linux, coming from Windows background. What Filesystem should I use? I read that Ext3 is default still? Ext4 is unstable at times? true? Also is there any performance different between ...
19
votes
6answers
51k views

Modify fstab entry so all users can Read and Write to an EXT4 Volume

I have an Ubuntu 10.04 box with an EXT4 partition. This partition is set to automatically mount in /etc/fstab. For the purposes of this post, we'll call it: /media/foo. Unfortunately, only root ...
19
votes
6answers
18k views

How can I change the amount and size of Linux ramdisks (/dev/ram0 - /dev/ram15)?

Using Linux, when I boot I automatically have 16 16MB ramdisks, however, I would like to create one really large ramdisk to test some software. I found that I can adjust the size of the ramdisks ...
19
votes
1answer
18k views

How can I logout an open, remote SSH session?

I sshed into a Linux machine (bash shell) from a public Windows machine (in our lab) and forgot to log out. I'm now back at my seat in another room and I am too lazy to walk back and log out that ...
19
votes
2answers
6k views

How to tell if linux process is 64bit

Given the pid of a process that's running on a x64 linux, how do I tell if it's running a 32 or 64 bit binary? I can look at the binary it's running out of 'ps' and do a file on that but I was ...
19
votes
7answers
56k views

How do I select all text from a file with nano?

I open a file in Ubuntu nano editor from the comand line and I want to copy all the contents of the file so I can paste it in an another application outside the shell. So far I can only copy using ...
19
votes
7answers
51k views

Make a bootable usb to install Windows XP from Linux

I have a Dell Mini 9 with only Ubuntu installed, I want to install Windows XP also but I don't have and can't get an external CD drive, so I need to make a windows installation from the usb. All the ...
19
votes
1answer
26k views

Show only current directory name (not full path) on bash prompt

The way my bash prompt is currently configured, it shows the whole path to the current directory. This is annoying when I'm deep inside a directory tree, as the prompt becomes so long that every ...
19
votes
2answers
5k views

ip versus ifconfig

After reading this answer, I began my quest for the difference between ip and ifconfig for *nix systems. I soon learned that ip had "more" features than ifconfig, but what's the real difference? Is ...
19
votes
4answers
22k views

Can I hibernate Linux without a swap partition?

I hadn't set up a swap partition on my PC, because a) I have plenty of RAM (8 GB) and b) I have large harddrives that I didn't want to chop into tiny pieces, so my smallest partitions are 50 GiB, and ...
19
votes
2answers
29k views

Allow specific user permission to read/write my folder

I have a folder /home/samantha/folder that I want to share with the user tom. He can read/write the folder. How do I do that? chown wouldn't do it because I still want to be able to be the owner of ...
19
votes
2answers
30k views

How do I gunzip to a different destination directory?

How do I gunzip to a destination directory other than the current one? This did not work: gunzip *.gz /putthemhere/
19
votes
6answers
62k views

Add permanent SSL certificate exception in Chrome (Linux)

I have a problem with a website that has an SSL certificate which doesn't correspond to the website domain. Chrome gives me a warning for this website (and rightly so), which I have to ignore ...
19
votes
4answers
12k views

Is there a linux command like mv but with regex?

For example I want to mv (.*?).sql $1.php, is there a command that lets me specify renaming patterns?
19
votes
2answers
57k views

What do ALSA devices like “hw:0,0” mean? How do I figure out which to use?

I've searched over and over and can't find any explanation of what "hw:0,0" means. How do I determine the number of my USB audio card? MPD requires me to enter something like this: audio_output { ...
19
votes
2answers
8k views

Uploading files to S3 account from linux command prompt

I've got several large files sitting in my linux hosted account that I need to upload to my S3 account. I dont want to download them first and then upload it into S3. Is there any way I can "upload" ...
19
votes
3answers
7k views

Screen a running process

Sometimes I forget to run a program under a screen session and can't stop it in the middle, and I know it's going to take long. Is there a way to screen an already running process without restarting ...
19
votes
3answers
2k views

How to tame Linux responsiveness, memory, and paging

First question on overflow =)... +100 bounty. Couldn't think of something I really cared about until now: I'm really fed up with the state of Linux desktop responsiveness, e.g. ...
18
votes
13answers
40k views

How do I check whether I am using KDE or Gnome?

or maybe something else? I am using Redhat OS.
18
votes
5answers
26k views

What is the meaning of “chmod 666”?

I am using Linux. What is the meaning of chmod 666?
18
votes
7answers
16k views

ls -d is not displaying directories. Is there a way to get ls to only display directories instead of files and directories

Is there a way to get ls to only display directories instead of files and directories From the man page. -d, --directory list directory entries instead of contents, and do not ...
18
votes
6answers
5k views

gitk looks ugly / doesn't honor theme settings

I'm running Xubuntu, (actually linux mint with xfce on top, but I suppose it's essentially the same thing) I set my appearance theme to (a modified version of) MurrinaStormCloud, but if I run gitk, ...
18
votes
4answers
24k views

How do I do a binary diff on two identically sized files under Linux?

I have two identically sized files, and I need to do a binary diff to check whether they're the same. I'm currently runnnig diff file1.img file2.img but it's taking quite a while to process my ...
18
votes
5answers
44k views

Test if a port on a remote system is reachable (without telnet)

In the old days, we used telnet to see if a port on a remote host was open: telnet hostname port would attempt to connect to any port on any host and give you access to the raw TCP stream. These ...