0% found this document useful (0 votes)
9 views

Appendix A

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Appendix A

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

AFZAMA01_0131194496.

qxd 3/16/07 1:47 PM Page 499

Appendixes

Appendix A: Command Index


Appendix B: Command Index by Category
Appendix C: Command Summary (Including Command Options)
Appendix D: Summary of vi Editor Commands
Appendix E: Summary of Emacs Editor Commands
Appendix F: The ASCII Table

499
AFZAMA01_0131194496.qxd 3/16/07 1:47 PM Page 500
AFZAMA01_0131194496.qxd 3/16/07 1:47 PM Page 501

Command Index
This appendix is a quick index to the commands covered in this book. The commands
are in alphabetical order. Numbers after each command indicate the page numbers.

alias creates aliases for commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 299


at executes commands at a later time . . . . . . . . . . . . . . . . . . . . . . . 463
banner displays banner (in large characters) . . . . . . . . . . . . . . . . . . . . . . . 462
cal provides calendar service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
calendar provides reminder service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
cancel removes (cancels) the printing requests . . . . . . . . . . . . . . . . . . . . 113
cat concatenates/displays file(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
cd changes the current directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
chmod changes file/directory permissions . . . . . . . . . . . . . . . . . . . . . . . . 365
compress reduces the size of the file for storage . . . . . . . . . . . . . . . . . . . . . 487
cp copies files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
crypt encrypts/decrypts files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
cut selects the specified fields/columns from files . . . . . . . . . . . . . . . . 244
date displays date and time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
df shows total amount of free disk space . . . . . . . . . . . . . . . . . . . . . 459
dot runs processes in the current shell environment . . . . . . . . . . . . . . 371
du provides disk usage report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
echo displays (echoes) its argument . . . . . . . . . . . . . . . . . . . . . . . . . . 269
ed UNIX line-oriented editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
emacs the emacs editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
ex standard UNIX line-oriented editor . . . . . . . . . . . . . . . . . . . . . . . . . 55
exit terminates the current shell program . . . . . . . . . . . . . . . . . . . . . . 370
export exports variables to other shells . . . . . . . . . . . . . . . . . . . . . . . . . . 295
expr provides arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
AFZAMA01_0131194496.qxd 3/16/07 1:47 PM Page 502

502 Appendix A

fc lists commands from history file . . . . . . . . . . . . . . . . . . . . . . . . 302


find finds and acts on a specified file . . . . . . . . . . . . . . . . . . . . . . . . . . 237
finger displays information on users . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
ftp transfers files from one system to another . . . . . . . . . . . . . . . . . . 479
grep searches in file(s) for a pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
head displays the first part of a specified file . . . . . . . . . . . . . . . . . . . . . 242
help invokes menu-driven help utility . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
history keeps a list of all the entered commands . . . . . . . . . . . . . . . . . . . 300
kill terminates processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
learn invokes courses/lessons utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
let provides arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
ln links files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
lp prints file(s) on the line printer . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
lpr prints specified file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
lpstat provides the status of the printing requests . . . . . . . . . . . . . . . . . 114
ls lists contents of a directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
mailx provides an electronic mail processing system (e-mail) . . . . . . . . . 339
man finds information from the electronic manual . . . . . . . . . . . . . . . . . . 44
mesg permits/denies messages from the write command . . . . . . . . . . . 320
mkdir creates a directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
more displays files one screen at a time . . . . . . . . . . . . . . . . . . . . . . . . 248
mv moves/renames files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
news provides access to the local system news . . . . . . . . . . . . . . . . . . 321
nohup keeps commands running after you log off . . . . . . . . . . . . . . . . . . 285
passwd changes your login password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
paste joins files together line by line . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
pg displays file one screen at a time . . . . . . . . . . . . . . . . . . . . . . . . . 211
pr formats file before printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
ps provides the process status report . . . . . . . . . . . . . . . . . . . . . . . . 283
pwd displays the current/working directory pathname . . . . . . . . . . . . . . . 92
r (redo) repeats commands from the history file . . . . . . . . . . . . . . . . . . 302
rcp provides remote copy program . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
read reads input from the input device . . . . . . . . . . . . . . . . . . . . . . . . . 372
rm removes (deletes) file(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
rmdir removes (deletes) empty directories . . . . . . . . . . . . . . . . . . . . . . . 98
rsh provides remote shell program . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
rlogin provides remote login program . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
set sets/displays the values of the shell variables . . . . . . . . . . . . . . . . 274
sh invokes a new copy of the shell . . . . . . . . . . . . . . . . . . . . . . . . . . 364
AFZAMA01_0131194496.qxd 3/16/07 1:47 PM Page 503

Command Index 503

sleep makes the process wait for a specified time in seconds . . . . . . . . . 283
sort sorts file(s) in specified order . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
spell provides spelling checker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
stty sets terminal options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
tail displays the last part of a specified file . . . . . . . . . . . . . . . . . . . . . 243
talk provides terminal-to-terminal communication . . . . . . . . . . . . . . . . 323
tar archives a set of files into a tarfile on a tape . . . . . . . . . . . . . . . 468
tee splits output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
telnet allows to log into a remote server . . . . . . . . . . . . . . . . . . . . . . . . . 488
test tests an expression for true/false conditions . . . . . . . . . . . . . . . . . 384
time times a command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
tput provides access to the terminfo database . . . . . . . . . . . . . . . . . 419
trap sets/resets the interrupt signals . . . . . . . . . . . . . . . . . . . . . . . . . . 416
type displays the type of the specified command . . . . . . . . . . . . . . . . . 465
unset removes a shell variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
vi invokes standard UNIX screen editor . . . . . . . . . . . . . . . . . . . . . . . . 55
view invokes read only vi editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
wall writes to all currently logged in terminals (write all) . . . . . . . . . . . . 322
wc counts lines, words, or characters in a specified file(s) . . . . . . . . . . 232
who shows who is on the system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
write provides terminal-to-terminal communication . . . . . . . . . . . . . . . . 319
AFZAMA01_0131194496.qxd 3/16/07 1:47 PM Page 504

You might also like