A family of Unix-like 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

1505
votes
6answers
155k views

How do I make a machine “blank screen” for a period of time (as a penalty) if certain noise levels are reached?

My kids (4 and 5) yell a lot when playing games on the computer. I found an effective cure for this. When I hear loud noises, I ssh into the game computer and do:chvt 3; sleep 15; chvt 7 This ...
1162
votes
9answers
878k views

How can I sort the output of 'ls' by last modified date?

How can I sort the output of ls by last modified date?
471
votes
9answers
48k views

Did I just get hacked?

I am developing a consumer product, and it is supposed to be connected to the Internet, so as expected, it is connected to the Internet so that I can properly develop it.I went away for an hour or ...
355
votes
5answers
824k views

How to find a directory on linux?

I have a VPS with Suse Linux 10.3.I've logged in via SSH/putty and am trying to find where my web files are located.Since I'm uploading via FTP in a directory called httpdocs, I assume that this ...
338
votes
7answers
381k views

What is the “You have new mail” message in Linux/UNIX?

Sometimes, when I log into a box and 'su' to root, I get a cute little message saying I have mail (thank GOD it's not AOL).Where is this mail?What does it contain?Who/What sent it?How important ...
329
votes
4answers
95k views

How to turn off word-wrap in less

Short version:How can I make the less utility in Linux not wrap lines?Long version:Often I need to view huge CSV files using less with hundreds of columns. I frequently only care about the first ...
327
votes
31answers
221k views

How to execute a command whenever a file changes?

I want a quick and simple way to execute a command whenever a file changes. I want something very simple, something I will leave running on a terminal and close it whenever I'm finished working with ...
308
votes
10answers
369k views

How to check which apache modules are enabled/installed?

Which is the most elegant way to check which apache modules are enabled?
302
votes
13answers
141k views

Get colors in less or more

When I read a file in Linux with the command less or more, how can I get the content in colors?
276
votes
6answers
632k views

How to decompress a .bz2 file

I have a file as: filename.bz2 I need to decompress.I have tried the command: tar xvjf filename.tar.bz2, but it didn't work as the file is not a tar file. How do I decompress this file?
262
votes
9answers
261k views

View list of files in ZIP archive on Linux

How can I view the list of files in a ZIP archive without decompressing it?
258
votes
5answers
287k views

How can I resume a stopped job in Linux?

How can I resume a stopped job in Linux? I was using emacs and accidentally hit ctrl-z which blasted me back to the console. I can see it when I type 'jobs'[*****]$ jobs[1]+ Stopped ...
252
votes
17answers
253k views

How do I detach a process from Terminal, entirely?

I use Tilda (drop-down terminal) on Ubuntu as my "command central" - pretty much the way others might use GNOME Do, Quicksilver or Launchy.However, I'm struggling with how to completely detach a ...
250
votes
9answers
242k views

chown is not changing symbolic link

I'm trying to change the user/group of a symbolic link with the command:$ chown -h myuser:mygroup mysymbolic/ But it's not changing. I'm logged in as root. The current user/group is set to root:...
249
votes
7answers
177k views

Automatically answer 'Yes' when using apt-get install

Is there a way to make apt-get install answer "yes" to the "Do you want to continue [y/N]?"?

153050per page