University of Louisiana at Lafayette
Computing Support Services

Basic Unix Commands

SELF-HELP GUIDES > UCS > BASIC UNIX COMMANDS

When you have successfully created a telnet session to the UCS workstations, you must know a list of commands in order to navigate around. Any of the below commands my be typed at the command line (dxx.ucs.louisiana.edu%). If you are operating a workstation from campus, right click the mouse button click Hosts and Terminal Console. This will bring you to the command prompt.

For further information on any of the UNIX commands, type man and then the command which you want information on. (ex. man chmod).

Command
Option
Explanation
cd
directory name
changes from the current directory to the home directory location. If you type a filename after the command, it changes into that directory.(note the file you change into must be visible when you do the 'ls' command)
pwd
displays the current working directory
ls
-al
lists files within a particular directory. Used with the -al option, lists all files within a directory as well as the size.
chmod
755
changes the permissions of a file to specify read, write, and execute privileges to others.
mkdir directoryname
creates a new directory and names it directoryname
cp filename otherfile
creates a copy of the file filename and names it otherfile
finger
displays information on the users who are currently logged into the workstation
whoami
displays current username
quota -v
allows you to check how much memory on the system you have used for your home directory and for your mail. If your usage exceeds your quota, you will have probems.
elm
starts Easy Little Mailer, a text-only email application for sending and receiving University email.
more filename
allow you to view the contents of the text file filename.
rm filename
-rf
removes the file filename. Use the -rf to remove a directory. (rm -rf directory)



© Copyright 2002 by the University of Louisiana at Lafayette
Computing Support Servicees, P.O. Box 42770, Lafayette LA 70504
Phone: 337/482-5516 · E-Mail: helpdesk@louisiana.edu