For this assignment, you will:                 
Do not use an editor unless it specifically states to edit the file. By “editor” I mean vim, gedit, pico, etc. Despite its name, we don’t consider sed to be an editor in this assignment, so you may use it freely.                 
hw3.tgz
in
~cs155/pub
; untar it in your home directory.hw3_files
hw3_files
directory.
story.txt
, call it save-story
save-story
so that everyone
can read it, but nobody can write or execute it.
story.txt
but
change all of the occurrences of “Alice” to “Angela Merkel”
and store this in a new file called story.angela
story.angela
which contains exactly “und”
but does not contain the letter “e”
and put it in the file undie.txt
story.txt
and append a line containing
only that number to the end of undie.txt
.
runme
so that
you can read, write and execute it, members of your group can
read and execute it, and everyone else can only read it.
runme
and put the output it produces into a
file named runme.out
runme
and change the number 855 to 355.
runme
again and put the output it produces into a
file named runme.outout
file_1.txt
and file_2.txt
and put them into a new file named file_3.txt
current.txt
which contains the current
time and date of the machine you are using, as reported by the
date command runme2
and append its output to the file current.txt
data.txt
into a file named dozen
dir_a
directory. (You may need to change the permissions
of the directory so that you can work in it.)
bad_name.txt
to nogood
remove_me.txt
result.tgz
which contains the hw3_files
directory.
result.tgz
file.
At some point, you may decide that you've done something wrong, and want
to start over. You’ll want to get rid of the hw3_files
directory,
but you may have trouble removing it, due to file permissions. Here’s a
cheap way to get rid of it:
                
mv hw3_files hw3_files.bogus
Voila! It’s been renamed to hw3_files.bogus
, and is therefore out
of your way.
                
Every semester, some student does nearly everything right,
but then fails to create result.tgz
correctly, and so receives
very few points.
How can you verify that your result.tgz
is good before you turn it in?
                
Via web checkin, or:                 
~cs155/bin/checkin HW3 result.tgz
Turn in someone else’s work.                 
User: Guest