COP 3353: Review Checklist of Topics Covered (since Midterm)

This is a list of topics intended as a checklist to help you recall what topics and commands have been covered

Process Management

Shell Commands Covered

Command Description Flag options
covered
You should
be able to
grep Search for patterns within files -i
-n
-l
-P
ignore case
line numbers
display filenames only
tell it to use a Perl regular expression pattern
know the basic regular expression patterns discussed in class (Lecture set 5)
ps report on current processes -e
-f
-a
aux
-l
view all processes on the system (-e)
view the "full format" (-f)
all processes except for session leaders (-a)
view the "long format" (-l)
jobs Shows background processes   view the current background processes you are running
fg put a job into foreground   put one of your background processes into the foreground
bg run a job in the background   put one of your current jobs to run in the background
Ctrl-Z suspend the current foreground process   suspend a process without killing it
Ctrl-C kill foreground job   kill, or cancel, the current foreground process
kill kill a running process, through its process ID (PID) number -KILL send a KILL signal to override and halt processes that can't be killed with normal kill command
sleep a delay for a specified time   cause current process to sleep, or delay, for specified number of seconds
nice Run a process with modified priority level   Run a process with a specified priority level, between -20 and 20
sh Run the Bourne shell   start the Bourne shell (no parameters)
or run a script with sh (one parameter)
bash Run the Bourne Again shell   start the Bourne Again shell (no parameters)
or run a script with bash (one parameter)
csh Run the C shell   start the C shell (no parameters)
or run a script with csh (one parameter)
tcsh Run the Tenex shell   start the Tenex shell (no parameters)
or run a script with tcsh (one parameter)
ksh Run the Korn shell   start the Korn shell (no parameters)
or run a script with ksh (one parameter)

Shell Scripting

Basics

Control structures in scripts

Other scripting tools

Some specific slides to OMIT

These slides were not really discussed in class, at least not with any significance. These will not be covered on the test, except for any parts of them that overlap with previous coverage