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

75
votes
8answers
40k views

Reload a Linux user's group assignments without logging out

When assigning a user's secondary group list using: # usermod -G <grouplist> <user> is it possible to force this group assignment to take effect without logging out all running ...
53
votes
4answers
63k views

How to specify level of compression when using tar -zcvf?

I gzip directories very often at work. What I normally do is tar -zcvf file.tar.gz /path/to/directory Is there a way to specify the compression level here? I want to use the best compression ...
71
votes
7answers
66k views

What to do when Ctrl + C can't kill a process?

Ctrl + C doesn't always work to kill the current process (for instance, if that process is busy in certain network operations). In that case, you just see "^C" by your cursor and can't do much else. ...
35
votes
4answers
9k views

Linux equivalent command for “open” command on Mac/Windows?

Coming from Mac OS X, you can type: $ open yourfilehere.txt and your file will open just as if you had opened it from Finder. On Windows, one can type: > start yourfilehere.txt and it will ...
42
votes
5answers
106k 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 ...
46
votes
3answers
8k views

What does the 'rc' in `.bashrc`, etc. mean?

Well, this is embarrassing. I feel like I just realised I don't know a loyal colleague's name after working with them for 10 years. "Hey, er... *cough!*, thanks for that great job you did on setting ...
33
votes
3answers
16k views

Convert a PDF to greyscale on the command line in FLOSS?

I have a colour PDF file, and I'm going to print it out and then photocopy it in black and white. I'd like to know what it's like in B&W before photocopying it. Is it possible to 'greyscale' a PDF ...
31
votes
3answers
3k views

Can history files be unified in bash?

I routinely run multiple screen sessions on my Linux desktops and servers. A problem with this is that when I grep through my command history, I find I issued a command in a different session, and ...
35
votes
11answers
124k views

PuTTY Network Error: Software caused connection abort

I have a strange problem: When I'm using PuTTY with SSH connecting to a Linux server hosted in VMware on my local Windows 7, I often get the error saying "Network error: Software caused ...
33
votes
5answers
9k views

Two keyboards on one computer. When I write with A i want a US keyboard layout, when I use B i want Swedish. Possible?

I have a laptop which I use an external keyboard with. When I type using the external keyboard I want to use a US keyboard layout, since that's the type of external keyboard I have. On the other hand, ...
13
votes
5answers
64k views

How to boot a Linux live USB on a Mac?

I have a USB stick with a Fedora 11 live environment on it. It's booting fine on 3 PCs where I've tried it. But I can't get it to boot on a Mac (Intel). When pressing the alt key (or command key, I ...
32
votes
3answers
3k views

Have a file named ~ (tilde) in my home-directory

I just noticed that I have a file called ~ in my ~-directory. $ ls -la ~ ... -rw-r----- 1 x1 x1 733962240 Mar 1 17:55 ~ ... Any idea how I can mv or rm it?
16
votes
5answers
16k views

Choice of filesystem for GNU/Linux on an SD card

I have am embedded ARM-based system running on an SD card. It's currently Debian GNU/Linux using ext3 as filesystem. As I'm about to reinstall the system, I started wondering about changing to a more ...
16
votes
5answers
13k views

SSH access to office host behind NAT router

I would like to access the ssh port of my office linux host from home. Unfortunately the host is located behind a NAT router. So, the IP address is not publicly available. There is however access to ...
99
votes
8answers
89k views

View files in ZIP archive on Linux

How can I view the files in a ZIP archive without decompressing it?
11
votes
2answers
29k views

How do you install Linux alongside Windows 8 without corrupting the Windows 8 boot configuration?

In order to install Linux Mint 14 alongside Windows 8 I disabled UEFI and booted to a flash drive with the Linux image. I installed Linux, restarted the computer, and the GRUB boot loader appeared. ...
10
votes
5answers
11k views

How do I log file system read/writes by filename in Linux?

I'm looking for a simple method that will log file system operations. It should display the name of the file being accessed or modified. I'm familiar with powertop, and it appears this works to an ...
4
votes
2answers
14k views

Linux process to background - relogin - how to bring process back to foreground?

I start a process, put it in the background running, then log out, then log in again, and want to bring the process to front again. I've looked in "ps aux" for the PID, but it won't be put in the ...
20
votes
7answers
4k 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 ...
14
votes
4answers
15k views

Wired to wireless bridge in Linux

I am attempting to set up my Raspberry Pi as a bridge, using Debian wheezy. I have a hostapd.conf: (some details changed for security, and yes, I know WEP is no good)... interface=wlan0 bridge=br0 ...
11
votes
2answers
14k views

Using Ghostscript to convert multi-page PDF into single JPG?

I know Ghostscript can convert PDFs to JPGs, and in the case of a multi-page PDF, can rip each page to an individual JPG. But is it possible to have it rip them to one JPG, so that the pages are ...
13
votes
5answers
3k views

Little girl friendly versions of Linux (or themes for Linux) [closed]

I'm going to install Linux on a PC for a daughter (age 7) of a friend of mine. I recently came across Hannah Montana Linux. The parents don't want a commercially branded thing going on, so no Hannah ...
11
votes
2answers
12k views

How to Combine find and grep for a complex search? ( GNU/linux, find, grep )

I'm trying to do a text search in some files that share a similar directory structure, but are not in the same directory tree, in GNU/Linux. I have a web server with many sites that share the same ...
6
votes
6answers
5k views

Which torrent apps work headless (from command line only)?

There's a question on here about what torrent apps work well remotely, but I'm hoping to find out one that works well through a command line interface, preferably with no GUI. What torrent apps ...
14
votes
7answers
7k views

Replace Symbolic Links with Files

Is there an easy way to replace all symbolic links with the file they link to?
11
votes
4answers
7k views

How I can make sudo session an hour and not few minutes in Ubuntu 10.04?

How I can make sudo Ubuntu 10.04 session an hour and not few minutes? Now I have to write my password for sudo commands every few minutes.
11
votes
1answer
1k views

Why Windows needs reboot a lot more than Linux?

I use both Ubuntu and Windows XP. One thing that catches my attention for a long time is the high need for reboots in Windows. Most of the time when I install a program, Windows requests to reboot ...
9
votes
2answers
2k views

What do I have to take care of when hibernating both Ubuntu and Windows (dual-boot environment)

I've got both Windows 7 and Ubuntu (finally) installed on my laptop. For the sake of comfort, I usually hibernate Windows instead of shutting it down. And I think when using Ubuntu regularly, there ...
8
votes
3answers
8k views

How to delete file with this name on linux: -]???????q

Somehow a file named -]???????q got created on my terminal. I tried rm -f "-]???????q" (in double quotes), but it did not get deleted. (Error:: rm: invalid option -- ]). How do I delete it?
5
votes
3answers
13k views

Ubuntu/ Gnome : Open an application in a specific workspace

How do tell an application to open in a specific workspace? More info: I like to have my C++ IDE in workspace 2, my Java IDE in workspace 3, and my email, browser and miscellaneous in workspace ...
5
votes
2answers
5k views

Monitor the bandwidth usage of each computer on a network

I have a Linux box that I would like to use to monitor all bandwidth my network, there are multiple computers all plugged into the network. Is there some way to ARP spoof all the traffic through the ...
2
votes
4answers
4k views

Configure Fedora 15 Linux to allow access via port 80 from other computers

I am trying to make my home server accessible to the whole web. I have installed Nginx on my Fedora 15 64-bit Linux machine, and it works with localhost but it doesn't work online or allow other ...
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 ...
14
votes
5answers
66k views

How to remove the Ubuntu Gnome desktop after making the switch to KDE?

This is the opposite of this question. Basically I've been using Ubuntu for a while but decided to give KDE a shot so I went through the process of getting the latest KDE installed. I'm very ...
12
votes
3answers
12k views

Create a logoff script/task for Linux

In similar vein to my question for Windows and Mac OS X, how would one go about creating a logoff script for Linux? Any distro is fine, as I'm sure it'd be extendable across others. I'm most ...
8
votes
5answers
2k views

Search for a text pattern in linux

I'm a linux newbie. I need to search for a string "teststring" in all *.java files coming under /home/user1/ (including subfolders). How can I do it in linux via shell command.
7
votes
1answer
6k views

Can a Linux machine act as both a wireless client and access point simultaneously using a single physical WLAN interface?

If I have only 1 physical WLAN interface, is there some hackery that can be done so that it can be a client of an existing access point and at the same time also act as an access point for other ...
6
votes
6answers
5k views

Best filesystem for use with multiple OS? [duplicate]

what's the best file system to use with windows, osx, and linux that is not fat32. I need a file system that can share large video files with good performance
10
votes
4answers
6k views

Linux Group Permissions not being enforced correctly.

I am running Ubuntu 10.04 server and am having some very counter-intuitive experiences with users/groups. For example: sudo touch test_file # create empty file sudo groupadd test ...
6
votes
3answers
1k views

How can I receive phone calls on a Linux server and script stuff depending on the numbers pressed?

I live in France and the ISP I've subscribed to provides a regular phone line along with my Internet connection. Here's a simple schema of my setup: Since I don't use this phone line I would like ...
6
votes
3answers
7k views

Adjust screen brightness automatically at night

Can anyone tell me how to automatically dim my monitors when it gets dark at night?
5
votes
2answers
11k views

Rescuing a hdd with bad sectors: dd vs gddrescue

Somewhere on the internets I read that gddrescue is superior to dd at least in terms of being able to distinguish between the amount of disk reads performed on a troubled sector. Is this really the ...
4
votes
3answers
425 views

what does crypt(3) and whatnot mean [duplicate]

Possible Duplicate: What do the parentheses and number after a Linux command or C function mean? In Linux Manpages (http://linux.die.net/man/3/crypt) I often see sth like this: crypt(3), ...
10
votes
6answers
2k views

What is the difference between Unix and Linux? [duplicate]

I want to know what the actual difference between Unix and Linux is. Do they share the same kernel? Is Linux built on Unix? Do programs written for Linux work on Unix and vice-versa?
5
votes
1answer
859 views

Deleting another user's directories from my own

I am a non-root user, and have made a directory into which other users in my group can write. The directory is setgid, so files and directories within it have the same group. I can delete files ...
4
votes
2answers
968 views

Running Linux on Old PC [duplicate]

Possible Duplicate: Lightweight GUI Linux distribution for really old computer I have an old PC with 196MB RAM, 20GB HDD, 466MHz Intel Celeron processor. I want this PC to run 24/7 for ...
4
votes
4answers
1k views

Linux distributions comparison

Does any good comparison exist (like a table of present features) between the many Linux distributions? What are the features and advantages on each distribution? (Ubuntu, Fedora, CentOS, etc.) ...
2
votes
1answer
969 views

ssh terminal session times out, how can this be changed

It seems after about 5 minutes an inactive ssh session is terminated. The server is Ubuntu. How can I change this?
2
votes
3answers
357 views

No GRUB after re-installing Windows

I have Windows and I installed Fedora 12 on a separate partition. However, I had a problem with my windows XP SP 3 and had to install Windows on my C drive. When I re-boot I on longer get the GRUB ...
1
vote
1answer
319 views

How can I start a process over SSH such that it will continue to run after I disconnect?

XBMC occasionally crashes on my media server. It's a pain to bring down the media server because I have to manually restart a number of services each time. I'd like to be ablle to start XBMC from an ...