This appendix is a guide to the common standard commands. They are organized in the following tables:
|
Command |
Description |
|---|---|
|
chgrp |
Changes a file's group |
|
chmod |
Changes a file's permissions |
|
chown |
Changes a file's user ownership |
|
cp |
Copies a file |
|
dd |
Converts and copies |
|
df |
Displays disk usage statistics |
|
du |
Displays directory space usage |
|
file |
Identifies a file type |
|
find |
Searches for a file |
|
ln |
Creates a symbolic or hard link |
|
ls |
Lists files |
|
mkdir |
Creates a directory |
|
mkfifo |
Creates a named pipe |
|
mknod |
Creates a special file |
|
mv |
Renames or moves a file |
|
rm |
Removes a file |
|
touch |
Creates a file or updates a file's timestamp |
|
Command |
Description |
|---|---|
|
info |
Displays GNU-style documentation |
|
man |
Displays the traditional Unix online manual |
|
Command |
Description |
|---|---|
|
arch |
Displays the system architecture |
|
df |
Displays disk usage statistics |
|
dmesg |
Displays buffered kernel messages |
|
finger |
Displays user information |
|
free |
Displays free memory statistics |
|
hostname |
Displays the current host's name |
|
last |
Shows the last users who logged in |
|
tty |
Displays the current terminal name |
|
uptime |
Displays system load and how long the system has been running |
|
vmstat |
Displays virtual memory statistics |
|
uname |
Displays kernel identification information |
|
w |
Displays uptime information and current users |
|
who |
Displays current users |
|
whoami |
Displays the current user |
|
Command |
Description |
|---|---|
|
bc |
A simple calculator |
|
cal |
Shows a calendar |
|
date |
Displays the current date |
|
dc |
Runs the RPN calculator |
|
pwd |
Prints the working directory |
|
script |
Starts a shell where all output is recorded in a file |
|
sleep |
Pauses for a specified number of seconds |
|
strings |
Attempts to show any text embedded in a binary file |
|
yes |
Prints an endless stream of lines |
|
which |
Displays the first matching program in the current path |
|
Command |
Description |
|---|---|
|
ar |
A library archiver |
|
as |
An assembler |
|
c++ |
A C++ compiler |
|
cc |
A C compiler |
|
cpp |
A C preprocessor |
|
g++ |
A C++ compiler (see c++) |
|
gcc |
A C compiler (see cc) |
|
gdb |
The GNU debugger |
|
install |
Copies a file into a location with certain parameters |
|
ld |
linker |
|
ldd |
Displays dynamic libraries |
|
make |
A package-building tool |
|
perl |
A general-purpose scripting language |
|
Command |
Description |
|---|---|
|
bash |
The Bourne Again Shell |
|
csh |
The C Shell |
|
ksh |
The Korn Shell |
|
sh |
The Bourne Shell |
|
tcsh |
The TC Shell |