All About Internet Mail
Software Summaries

Unix Operating System


Introduction

Unix is (for the timebeing) the dominant operating system running on computers serving as Internet hosts. Most of the early email software and many email programs still in wide use today run under the Unix operating system. People using email based on Unix hosts or client/server systems can do quite a lot without understanding Unix or having any significant interaction with this system. However, some rudimentary knowledge of Unix can be useful, expanding your capabilities and making you more self-sufficient. Unix is also seeing a rise in popularity as the foundation behind many online services based on the Gopher and the World-Wide Web. It is Unix's file and directory naming conventions that Web users are applying when they address their client to a document. And many people wanting to become WWW information providers are finding that a little Unix skill can go a long way.

Command Summary

help subjectDisplay help on specified subject. Leaving subject empty will retrieve a short list of basic subjects and added help options.
lsList files and directories in the current directory.
ls /directoryList files and directories in the specified directory.
ls -lSame as above but includes information about file size, date created, whether an item is a directory or a file, who owns and has permission to see or change each item.
cat filenameDisplay the contents of a text file.
cat file1 file2 > file3Append the contents of file2 to those of file1 to make a new file, called file3
more filenameDisplay the contents of a text file, pausing for each screen.
cp file1 file2Make a copy, called file2, of file1. Can be used to make a backup copy or to place a second version of a file in a new directory.
mv file1 file2Move file1 to the location file2. This can be used to relocate a file from one directory to another. It can also be used to rename a file.
rm filenameDelete (remove) named file.
cd directoryMove to another directory.
cd ..Move to the directory one level up.
mkdir dirnameCreate a new directory, named dirname, within the current directory.
rmdir dirnameDelete the specified directory. The directory needs to be empty first.
passwdBegin sequence to change password.
grep text filenameSearch for specified text in specified file.

Source: All About Internet Mail . Berkeley : Library Solutions Press, 1997.
Copyright 1997 by Lee Jaffe
Do not reproduce without permission.