The following commands can be typed at the UNIX prompt (%):
Entering and exiting UNIX
telnet machine.site lets you connect to remote machine "machine"
exit exits the current login session
Getting help
apropos subject gives possible commands appropriate to subject
help displays short list of available commands
info lists locally written online documentation
info topic displays local information related to topic
info software shows available text editors (e.g., vi, Pico)
learn activates the online tutorial program
man topic shows the page in system user manual about topic
Directories
cd changes back to home directory
cd dirname changes to a directory named dirname
mkdir new makes a directory named new
rmdirold removes a directory named old, which must be empty
rmdir -r old removes old AS WELL AS ITS CONTENTS!
pwd shows present working directory
Files and Printing
ls lists contents of the current directory
ls -a displays all files, including hidden ones
ls -l displays long list of files (permissions & time)
ls -r displays reverse listing of files
ls -t displays files sorted by time
more file shows file in one screen segments
cat file displays contents of a specific file all at once
cp file1 file2 makes a copy of file1 and calls it file2
mv old new moves file from old to new...file old is erased
rm file deletes file named file
vi file edits file in vi
pico filename edits filename in Pico text editor
xwp launches X-WordPerfect word processor
info printers names printers and locations
lpr filename sends filename to the default printer
lpr -Pprintername sends file toprinternamename
lpr -K1 filename prints the filename single sided if possible
lpq lists default printer queue
lpq -Pprinter looks at the printer queue for printer
Other common commands
passwd changes the your current password
chfn changes your finger information and full name
pine starts e-mail program
quotas shows you how much disk space you have left
<ctrl s> stops the screen from scrolling
<ctrl q> resumes scrolling
finger -n logon-ID gives you information about another user
forward hostname redirects new mail to hostname
!! repeats the last command
history lists previous commands
lookup name find on-line campus directory listing for name
tin read USENET and UNIX news
spell filename spellchecks filename
sort file sorts file in alphabetical order
talk name@node begins talk session with another user
w lists who is on the system and what they are doing
who lists who is on the system
which command shows the directory where command is located
consult@unm.edu