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-us2004-03-02T11:35:43+00:00Chage
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...CommandsRob2004-03-02T11:35:43+00:00Multiple 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.IncantationsRob2003-11-07T23:53:56+00:00Mandrake 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...LinksRob2003-09-25T17:38:55+00:00Limitations 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,...CommandsRob2003-05-27T23:11:35+00:00Find 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...CommandsRob2003-05-27T23:01:14+00:00Bang 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...BashRob2003-05-08T17:21:04+00:00Repeating 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...BashRob2003-05-08T16:22:02+00:00Extracting 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:...BashRob2003-05-07T19:04:24+00:00Converting 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...CommandsRob2003-05-07T18:13:13+00:00For 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:...BashRob2003-05-07T18:08:30+00:00Listing 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...CommandsRob2003-05-06T13:34:13+00:00List Files in an RPM
http://www.robfisher.net/linuxtips/archives/2003_05.html#000096
rpm -qpl <filename>...IncantationsRob2003-05-06T11:39:59+00:00