Department of Computer Science and Engineering
Wright State University

Programming Assignment 1
CS 400 Data Structures and Software Design

4 Credit Hours, Summer Qtr 1999, Wright State U
Instructor: Dr Prabhaker Mateti, Associate Professor
Office Hrs: 15:00-16:00 M W at 449 Russ, or by appointment
pmateti@cs.wright.edu  (937) 775 5114

Due: June 23, 1999

This is a list of standard Unix commands that all students of CS should be familiar with. Learn to use them all. Learn the man command first. Then use the script command to show that you have tried each one of these at least once.
Cmd Description
bash Bourne-Again Shell
cat concatenates files
gcc C compiler, see also g++
cd changes directories
chmod changes the permission on a file
cmp compares two files
cp copies file
date returns the date and time
diff display line-by-line differences between two text files
echo echoes arguments to stdout
emacs the all-powerful text/binary editor; try xemacs also
env lists the current environment variables
find finds a file
grep searches for a pattern within a file; see also fgrep
kill stops a running process
ln creates a link between two files
lpr copies the file to the line printer
ls lists the files in a directory; try ls -lisa
lynx WWW/News/Mail browser; try lynx news:wright.ceg.433
make maintain, update, and regenerate related programs and files
man show reference manual pages; try man -k
mkdir makes directory
more displays a data file to the screen
mv used to move or rename files
yppasswd changes your password
ps Lists the current processes running
pwd displays the name of the working directory
rm removes files
rmdir removes directories
scriptMakes a transcript of terminal session
set lists all the variables in the current shell
sort sorts files
spell checks for spelling errors in a file
split divides a file
stty sets the terminal options
tail displays the end of a file
tar copies all specified files into one
umask specify a new creation mask
uniq generates unique lines from two files
vi screen-oriented (visual) display editor
wc word count, also line and char count
who info on other people online
w who is on the system, and what they are doing
xxgdb GUI interface to gdb source code debugger

http://www.cs.wright.edu/people/faculty/pmateti/