An Interactive Unix Tutor
This lesson will introduce you to some basic file and directory commands,
show you how to find out information about the system, how to communicate
with others as well as how to control your jobs.
File and Directory Commands
Displaying Files
- ls LiSt files. 5 column display. Ex.: ls
- ls -a LiSt files. Including . files. Ex.: ls -a
- ls -s LiSt files. Show size. Ex.: ls -s
- ls -l LiSt files. Long Form. Give lots of
information. Ex.: ls -l
- ls -as Combine two of the switches. Ex.: ls -as
- ls -R LiSt files in all subdirectories, too.
Ex.: ls -R
- ls -CF LiSt files. Multi columns. Denote which
are subdirectories, executables and symbolic links. Ex.: ls -CF
Viewing Files
Deleting Files
- rm Ex. %rm todelete.doc
- rm * Ex. Uhh. I
don't think I want to show you an example of this! :-)
Creating and Moving Around In Directories
Copying, Moving, and Renaming Files
Finding Information
Communicating with Other Users
Cleaning Up and Logging Off