Basic UNIX Commands

This computer runs the UNIX operating system. UNIX is a very compact and powerful command language (a language used to give operating systems commands to follow).

Filenames in UNIX include the name and sometimes a period followed by an extension. Note that UNIX is case-sensitive for filenames. For example, the files example.cpp and Example.cpp are two different filenames in UNIX.

In commands '*' is very useful. For example, *.cpp refers to all files which have a .cpp extension, and *.* refers to all files.

Some of the commands that you will need to use are:

UNIX Directory Commands

These are the UNIX command line commands to work with directories.

Anytime that you are using your account you are in a working directory. By default the working directory is your home directory.

Some special directory references:

. - current directory

.. - parent directory

~ - home directory

Some of the commands that you will need to use are: