| Command | Description | Example
|
|---|
| cat | display the content of a file | cat filename
|
|---|
| cd | change to another directory | cd public_html
|
|---|
| cp | copy a file | cp filename1 filename2
|
|---|
| date | display time and date | date
|
|---|
| finger | display the users logged into the system | finger
|
|---|
| history | display commands issued earlier in the session | history
|
|---|
| logout or exit | exit the Unix system | logout
|
|---|
| lpr | print files on the line printer | lpr filename1 filename2
|
|---|
| ls | display the file names | ls
|
|---|
| ls -l | display all columns of information about each file | ls -l | more (one screenful at a time)
|
|---|
| mail | send or receive email | mail
|
|---|
| man | display manual online | man ls
|
|---|
| mkdir | create a new directory | mkdir images
|
|---|
| more | display a file one screenful at a time | more filename1
|
|---|
| mv | move an existing file to a new one | mv filename1 filename2
|
|---|
| passwd | change password | passwd
|
|---|
| pg | display a file one screenful at a time | pg filename1
|
|---|
| pico | enter pico editor | pico filename1
|
|---|
| pine | send or receive email | pine
|
|---|
| pwd | show the path of the working directory | pwd
|
|---|
| quota -v | display your disk quota(s) and usage | quota -v
|
|---|
| rm | remove a file | rm filename1
|
|---|
| rmdir | remove a directory | rmdir subdirectory1
|
|---|
| rmdir -i | remove a directory by asking you first | rmdir -i subdirectory1
|
|---|
| rmdir -r | remove the contents of the directory | rmdir -r subdirectory1
|
|---|
| vi | enter vi editor | vi filename1
|
|---|
| who | display who is on the system | who
|
|---|
| whoami | show my user name | whoami
|
|---|
© 1996-2002: Hann So
email: sohann@fhda.edu