id="info"

Networking

Basic UNIX commands

Use this reference page to identify some basic UNIX commands.

Refer to this abbreviated list whenever you find yourself in a Unix shell and can't remember if you need to use ls or dir to view directories.

Directory commands
cdChange the working directory
findFind a file by name or by other characteristics
mkdirMake a directory
rmdirRemove a directory
 
File manipulation commands
catConcatenate and display a file
chmodChange the permissions mode of a file
chownChange the owner and/or group of a file
cpCopy a file
diffDisplay differences between pairs of text files
grepSearch a file for a specific text string
mvMove or rename a file
rmRemove a file
 
Display commands
datePrint the date and time
fingerDisplay information about a user
headDisplay the first few lines of a file
lessBrowse a text file
lsList the contents of a directory
manDisplay a reference manual page
moreDisplay a text file
pwdDisplay the working directory pathname
tailDisplay the end of a file
whoDisplay who is on the system
 
Process commands
exitTerminate a process
killTerminate or send a signal to a process
passwdCreate or change a password
psDisplay the status of a process
telnetConnect to a remote system using the Telnet protocol

Editor's Picks