University of Minnesota
School of Mathematics
School of Mathematics          
    math.umn.edu / systems_guide / unix

Unix Environment

Working in a Unix Environment

Topics:

   UNIX Commands, Managing Files, Editing Text, Running Programs


UNIX Commands:

UNIX commands are small programs that can be executed by entering their name at the shell prompt. Please refer to online sources or UNIX tutorial books for more information on using various UNIX commands.

Managing Files:

To view a listing of the files and directories (folders) in your account use the following command:

$ ls

You can remove files by using the rm command, copy files by using the cp command and move files by using the mv command.

To move around in your account use the following command:

$ cd directory

Replace directory with the directory in your account you wish to change to.


Editing Text Files

To edit a text file you can use the UNIX commands: vi, emacs or pico. Example:

$ vi lab3

If the filename is not found in the current directory the program will create a new text file with that filename, otherwise it will open the existing file for editing.


Running Programs:

To run a program on a computer simply type in the program's command name at the shell prompt. Example:

$ matlab

For a listing of the software packages availabe on the School of Mathematics computer systems refer to this updated software listing.