Frequently-Used UNIX Commands
Note that UNIX commands are case sensitive. Filenames (and filename
extensions) are not limited to the eight/three character DOS file-naming
convention.
Conventions used in this document: user-specified input is shown in
parentheses.
- pwd
- Print Working Directory (helpful if you've lost your way while
navigating the server)
- cd (directory name)
- Change Directory
- cd ..
- Change directory; go up one level.
- mkdir (directory name)
- Make Directory
- rmdir
- Remove directory.
- ls
- List directories & files (comparable to "dir" DOS command)
- ls -l
- Long List, including directories, filenames, directory or file owner(s),
file size, etc.
- more (filename)
- Display files one screen at a time. Type "q" to quit.
- ls -l | more
- List directory, one screen at a time.
- rm (filename)
- Remove file
- mv (old filename) (new filename) or mv (filename) (path)
- Rename or move file
- cp (filename) (path)
- Copy file
- *.*, *.html, wshs*
- Wildcards: all files, all files ending with ".html", and any file
beginning with "wshs" respectively.
- pico (filename)
- Invoke PICO text editor to edit a file, where user specifies filename.
Simply entering "pico" will invoke PICO to edit a new file. Use PICO to
edit text (.txt) and HTML (.html) files.
- pine
- Launches PINE e-mail software (note that PINE uses PICO as its text
editor).
- lynx
- Launches LYNX, a text-based, command line Web browser.
[More Advanced UNIX Commands]