Unix Quick Reference Shell Commands

Thanks to a professor at UCSD, here is a list of commands that on many of the ucsd unix servers. I decided to include this quick reference list, because there were definitely one or two I was not previously aware of but found helpful when I read that page

SHELL COMMANDS

---- The following are commands used at the shell -- the "%" ----
% balance ... lists remaining money in account
% cat > filename ... easy way to create a file (see the link to Creating a File with "cat").
% cat file1 >> file2 ... concatenates file1 on the end of file2
% cd newdir ... change directory to "newdir"
% correct filename ... corrects spelling of file
% cp filename newfilename ... makes a copy of a file
% date ... gives date and time
% finger ... gives names & account numbers of current logins
% frm ... shows who mail is from
% from ... shows who mail is from
% help . .. tells about on-line help
% help homework ... shows assignments for this and other classes
% logout ... when you are finished working
% look [string] ... finds all words that match string
% lp [-dprinterdest] filename ... sends file to line printer
% lpstat [-oprinterdest] ... shows "queue" for printer
% ls ... lists contents of current directory
% mail ... to read mail
% mail usename ... sends mail to "user"
% mkdir directory.name ... makes a directory
% more filename ... prints file on screen one page at a time
% mv file1 file2 ... changes name of file1 to file2
% passwd ... changes password
% pwd ... prints working directory
% quota -v ... shows account disk-space use
% rm ... removes a file
% STTY -LCASE ... provides lowercase letters
% tset [type] .. tells computer what type of terminal you are using
% uptime ... shows number of users and load on machine
% webster [word] ... gives definition, pronunciation and etymology of "word"
(c)Copyright 1985, 1996 by Bruce Jones
BJ's UNIX Primer - (c) Bruce Jones - 1985, 1996
Bruce Jones                     Department of Communication
bjones@ucsd.edu                 University of California, San Diego
(619) 534-0417/4410             9500 Gilman Drive
FAX (619) 534-7315              La Jolla, Ca. 92093-0503