This page contains brief descriptions and examples of a handful of commands that can be executed in the LINUX environment. It is by no means the intent of this page to contain a complete list of all useful LINUX commands, but to give its audience a gentle guide to a few useful ones.
Suggestions on commands to add are welcomed and will be added as time permits.
man is the system's manual pager, which provides an interface to the on-line reference manual.
Here are a few examples of how to use the man paes:
$ man ssh
$ man -s 2 open
>> man -k print
same as man -k.
less is a file reading filter for console viewing. less, like many other LINUX utilities, take several optional parameters. Type man -s 1 less at the console for more information on its proper usage. less allows you to move forward and backward in a file. To search for an expression when view the output of less, enter the / character.
Here are a few examples of how to use less:
$ less myfile.txt
$ ls -al | less
grep prints out the lines of some input that contains a matching regexp.A regexp is a general regular expression -- details are provided in the man pages.
Here are a few examples of how to use grep:
$ grep foo myfile.txt
$ ls -al | grep txt
$ grep -r -al | grep txt
sh(1), csh(1), tcsh(1), fork(2), pipe(2), wait(2)
Please send me email.