cat files
-
Prints the
contents of the specified files.
clear
-
Clears the
terminal screen.
cmp file1
file2
-
Compares two
files, reporting all discrepancies. Similar to the
diff
command, though the output format differs.
diff file1
file2
-
Compares two
files, reporting all discrepancies. Similar to the
cmp command, though the output format differs.
dmesg
-
Prints the
messages resulting from the most recent system boot.
fg
fg jobs
-
Brings the
current job (or the specified jobs) to the foreground.
file files
-
Determines and
prints a description of the type of each specified file.
find path -name pattern
-print
Searches the
specified path for files with names matching the specified
pattern (usually enclosed in single quotes) and prints their
names. The
find
command has many other arguments and functions; see the online
documentation.
finger users -
Prints
descriptions of the specified users.
free
-
Displays the
amount of used and free system memory.
ftp hostname
Opens an FTP
connection to the specified host, allowing files to be
transferred. The FTP program provides subcommands for
accomplishing file transfers; see the online documentation.
head files
-
Prints the first
several lines of each specified file.
ispell files
-
Checks the
spelling of the contents of the specified files.
kill
process_ids
kill - signal process_ids
kill -l
Kills the
specified processes, sends the specified processes the specified
signal (given as a number or name), or prints a list of
available signals.
killall
program
killall - signal program
Kills all
processes that are instances of the specified program or sends
the specified signal to all processes that are instances of the
specified program.
mail
-
Launches a simple
mail client that permits sending and receiving email messages.
man title
man section title
-
Prints the
specified man page.
ping host
-
Sends an echo
request via TCP/IP to the specified host. A response confirms
that the host is operational.
reboot
-
Reboots the
system (requires
root
privileges).
shutdown
minutes
shutdown -r
minutes
Shuts down the
system after the specified number of minutes elapses (requires
root
privileges). The -r option causes the system to be
rebooted once it has shut down.
sleep time
-
Causes the
command interpreter to pause for the specified number of
seconds.
sort files
-
Sorts the
specified files. The command has many useful arguments; see the
online documentation.
split file
-
Splits a file
into several smaller files. The command has many arguments; see
the online documentation
sync
-
Completes all
pending input/output operations (requires
root
privileges).
telnet host
-
Opens a login
session on the specified host.
top
-
Prints a display
of system processes that's continually updated until the user
presses the
q
key.
traceroute
host
-
Uses echo
requests to determine and print a network path to the host.
uptime
-
Prints the system
uptime.
w
-
Prints the
current system users.
wall
- Prints a message
to each user except those who've disabled message reception.
Type Ctrl-D to end the message.