Here's a longer list of UNIX commands.
10 Basic UNIX Commands
|
| How Do I... |
command |
example |
| Print a file in Bunche Hall Lab? |
bp |
bp filename |
| Print a file in Haines Hall Lab? |
hp |
hp filename |
| Change directories? |
cd |
cd econ/smith
("cd" alone takes you to root directory)
("cd ." shows the current directory)
("cd .." take you back up one directory)
|
| List files and directories? |
ls or lm |
ls directoryname
("ls" alone gives list of current directory) |
| Copy one file to another file? |
cp |
copy filename1 filename2 |
| Make a directory? |
mkdir |
mkdir newdirectoryname |
| Remove a file? |
rm |
rm filename |
Remove a directory? |
rmdir |
rm directoryname |
| Rename a file? |
mv |
mv oldfilename newfilename |
| Change my password? |
passwd |
(You'll be asked for old password) |
| Get help on a specific command? |
man |
man commandname |