University of Rochester Medical Center
SearchDirectoryNewsEventsStrong HealthURMC Home
 


Some useful UNIX commands

For more information or for help with syntax on the commands below,
type: man  commandname
awk

Use the pattern-matching program to process the specified files.

cal Print calendar for current month.
calendar Read calendar file and display lines with current date.
cancel Cancel print requests made with lp.
cat Read one or more files and print them on standard output.
cc Compile one or more C source files.
chgrp Change the ownership of one or more files.
chmod Change the access mode of one or more files.
chown Change the ownership of one or more files.
clear Clear terminal display.
compress Reduce the size of one or more files.
cp Copy file1 to file2.
date Print current date and time.
diff Report lines that differ between file1 and file2.
dos2unix Convert files using the DOS extended character set to ISO standard.
echo Echo arguments to standard output.
egrep Search one or more files for lines that match a regular expression.
eject Eject removable media.
env Display current environment.
fgrep Search one or more files for lines that match a literal, text string pattern.
file Clasify the named files according to type of data they contain.
find Find particular group of files.
finger Display data about 1 or more users.
grep Search one or more files for lines that match a regular expression.
groups Shows the groups to which the user belongs.
kill Terminate one or more process IDs.
lp Send files to the printer.
ls List the files in a directory.
man Display information from the online reference manual.
more Display the named files on a terminal, one screenful at a time.
mv Basic command to move files and directories around on the system or to rename them.
passwd Create or change a password associated with a user name.
ps Report on active processes.
rm Delete one or more files.
rmdir Delete the named directories.
ssh Secure shell replacement for the rsh, rlogin, and rcp programs.
tail Print the last ten lines of the named file.
unzip Print information about or extract files from ZIP format archives.
vi Screen-oriented text editor based on ex.
zip Archive files in InfoZIP format.
   

 

Please send your comments and suggestions about this web page to C. Brower
(brower@bst.rochester.edu)

Back to top