Command | Description |
cat filename | display the contents of the file called filename on the screen |
cp filename newfilename | copy the file called filename to a new file newfilename. |
cp filename dir_name | copy a file filename into directory dir_name. |
more filename | display the contents of the file called filename on the screen, pausing when the screen is full, waiting foe the user to type RETURN or ENTER to continue displaying |
mv filename newfilename | move the file called filename to a new file newfilename; wipes out old contents of , and delete the file filename |
mv filename dir_name | move a file filename into directory dir_name. |
mv *.log dir_name | move all log files into directory dir_name. |
qpr -q printer filename | print the file called filename on the printer called printer Eg. qpr -q prsps plate.log |
rm filename | remove (delete) the file filename from the computer; the file is really truly gone! |
cd dir_name | change (or move) to the directory called dir_name |
cd .. | change (or move) back up one level in the directory tree |
cd | change (or move) back to your home directory, from whereever you currently located |
ls | display the names of all files in the current directory |
ls *.log | display all files ending in .log in the current directory |
ls -l | use long format for output from the ls command |
mkdir dir_name | create a directory called dir_name, which is located in the current directory |
pwd | display the complete name of your current directory including the whole pathname, that is, every directory on the path starting at the root directory of the Unix system down the tree branches to your current directory. |
rmdir dir_name | remove an entire directory from the computer; the directory must be empty for this command to actually do any deletion of the directory. |
du | display disk usage statistics |
quota | display your current disk quota |
password | change your login password |
man command | to display online documentation for command |
script filename.scr | make a record of a session for printing. The script ends when you type exit. |