S5 version Table of Contents (frame/ no frame)
(29) Other UNIX commands Previous Top Next

Other UNIX commands

An assortment of other useful UNIX commands --- remember that many commands can be "joined" together with the pipe "|" and that output from a command can be sent to a file with the redirect symbol.

Line oriented commands

grep
Searches a file for the string and reports on all matching lines.
find
Searches though a file system. E.g. find /usr/share -name \*zip\* will search the filesystem below "/usr/share" for filenames with "zip" in them.
sort
Sorts (alphabetic or numeric) lines in a file.
cut
Cuts fields out of a file.
who
Show who is logged to the system and what they are doing. The command w is almost identical to who
mail
A very basic mail user interface. Not recommended for reading mail, but very handy for sending mail. Typically used to mail yourself a notification that a long-running computation has finally finished.
at
Execute a command at a future time - useful for background jobs
script
Capture a terminal session to a file. Saves what you and the computer type to the screen (stdout). Saves the output to file "typescript".
sed
A stream editor, really nice in pipes.
awk
Pattern matching language. Very powerful.

Screen oriented commands

talk
Talk to another person on the internet.
irc
Internet relay chat. Talk with lots of people on the internet.
pine
A mail reader. There are other mail readers available too. You can even use a mail program at the end of a pipe. E.g. w | grep sam | mail $USER. This runs the "w" command and looks for user (string) sam; the output is then mailed to $USER (always set to your username).
textblitz
A purely text-based interface to the Blitzmail system
top
Show the most active processes on the system. An animated, sorted, ps listing.

Previous Top Next


slide30.src  last modified Jan 31, 2011 Introduction Table of Contents
(frame/no frame)
Printable
(single file)
© Dartmouth College