Command/Syntax | What it will do |
---|---|
cat [options] file | concatenate (list) a file |
cd [directory] | change directory |
cp [options] file1 file2 | copy file1 into file2; file2 shouldn't already exist. This command creates or overwrites file2. |
emacs [options] file | full-screen editor |
lpq [options]
lpstat [options] |
show the status of print jobs |
lpr [options] file
lp [options] file |
print to defined printer |
lprm [options]
cancel [options] |
remove a print job from the print queue |
ls [options] [directory or file] | list directory contents or file permissions |
man [options] command | show the manual (man) page for a command |
mkdir [options] directory | make a directory |
more [options] file
less [options] file pg [options] file |
page through a text file |
mv [options] file1 file2 | move file1 into file2 |
pwd | print working (current) directory |
rm [options] file | remove (delete) a file or directory (-r recursively deletes the directory and its contents) (-i prompts before removing files) |
rmdir [options] directory | remove a directory |
tail [options] file | display the last few lines (or parts) of a file |