factor
(1).)
grep
).
Place this information in a file (create it if necessary).
Then take this file and sort (sort
) it. After it is sorted remove
lines that are the same (uniq
). Display this result and place
it back into the above file for next time.
This should work in such a manner that if you run
it at a later date, the file accumulates
earthquake information. The shell script
needs to store information from one
login to the next.
/etc/passwd
file to create a list of unique user
numbers and a list of unique group numbers. Title each list.
command to create a list of possible users. Then uselast -100
cut
,
sort
, and
uniq
to arrange the list.
Place the lab in the instructor hand-in box in BUS R6E, the "terminal room".your name TABER CSC137 Lab 4.9: Three tcsh scripts