Linux Tips http://www.robfisher.net/linuxtips/ Linux is so powerful because it contains hundreds of useful tools that can be combined in a practically infinite number of ways to get the job done. But it can be hard to remember every switch of every command, especially if it is a command that is used infrequently. These Linux Tips pages help me remember the most useful incantations. They are published here in case anyone else finds them useful. en-us 2004-03-02T11:35:43+00:00 Chage http://www.robfisher.net/linuxtips/archives/2004_03.html#000232 If, like me, you have a web server that you leave running in the corner of the room and don't... Commands Rob 2004-03-02T11:35:43+00:00 Multiple File Search and Replace http://www.robfisher.net/linuxtips/archives/2003_11.html#000188 I found various ways to do search and replace across files, but the most concise way is to use Perl. Incantations Rob 2003-11-07T23:53:56+00:00 Mandrake Cures and Tweaks http://www.robfisher.net/linuxtips/archives/2003_09.html#000167 Some extremely useful Mandrake tips can be found at Ozzzy's Place, including how to set up automatic updates. Much of... Links Rob 2003-09-25T17:38:55+00:00 Limitations Of Recursion http://www.robfisher.net/linuxtips/archives/2003_05.html#000111 Many commands sport a -r or -R switch to recurse into subdirectories. I have found that with some of these,... Commands Rob 2003-05-27T23:11:35+00:00 Find Files Containing Text http://www.robfisher.net/linuxtips/archives/2003_05.html#000110 I'm always piping the output of commands through grep to find specific words, but it can also be used to... Commands Rob 2003-05-27T23:01:14+00:00 Bang History http://www.robfisher.net/linuxtips/archives/2003_05.html#000104 The !! event designator is substituted with the last command entered. !-2 is substituted with the one before that, and... Bash Rob 2003-05-08T17:21:04+00:00 Repeating A Command Sequence - Ctrl-O http://www.robfisher.net/linuxtips/archives/2003_05.html#000103 If you find yourself running a sequence of commands repeatedly, Ctrl-O is your friend. Press the up arrow to find... Bash Rob 2003-05-08T16:22:02+00:00 Extracting a Filename From a Path Name http://www.robfisher.net/linuxtips/archives/2003_05.html#000102 If you have a variable $FILE which contains a full path and filename, for example, "/home/fred/myfile.txt", then the following code:... Bash Rob 2003-05-07T19:04:24+00:00 Converting Between Unix and DOS Text Files - recode http://www.robfisher.net/linuxtips/archives/2003_05.html#000101 To convert from DOS/Windows files that have carriage return/linefeed pairs, to normal files with just carriage returns, use the recode... Commands Rob 2003-05-07T18:13:13+00:00 For Loops in Bash http://www.robfisher.net/linuxtips/archives/2003_05.html#000100 For loops are a useful feature in Bash for performing the same operation on a number of files. For example:... Bash Rob 2003-05-07T18:08:30+00:00 Listing Processes That Are Using A File - fuser http://www.robfisher.net/linuxtips/archives/2003_05.html#000097 The fuser command is useful to find out which processes have a particular file open. For example, if you find... Commands Rob 2003-05-06T13:34:13+00:00 List Files in an RPM http://www.robfisher.net/linuxtips/archives/2003_05.html#000096 rpm -qpl <filename>... Incantations Rob 2003-05-06T11:39:59+00:00