UNIX Tutorial

Typographical conventions

In what follows, we shall use the following typographical conventions:

So, for example,

$ ls anydirectory [Enter]

means "at the UNIX prompt $, type ls followed by the name of some directory, then press the key marked Enter"

Don't forget to press the [Enter] key: commands are not sent to the computer until this is done.

Note: UNIX is case-sensitive, so LS is not the same as ls.

The same applies to filenames, so myfile.txt, MyFile.txt and MYFILE.TXT are three separate files. Beware if copying files to a PC, since DOS and Windows do not make this distinction.

Adapted for Mac OS X by Shane Burns from a tutorial by M.Stonebank@surrey.ac.uk, © 1 November, 2002