For this assignment, you will:
tar archive.
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.
hw3.tgz in
~cs155/pub; untar it in your home directory.hw3_files
hw3_files directory.
story.txt, call it story.old-version
story.old-version so that everyone
can read it, but nobody can write or execute it.
story.txt but
change all of the occurrences of “Alice” to “Ninja”
and store this in a new file called story.ninja story.ninja which contains the string “some”
but does not contain the letter “n” (upper/lower case matters)
and put it in the file some-n.txtstory.txt and append a line containing
just that number to the end of some-n.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 did not change when
you edited the file. If they did, fix them.
runme again and put the output it produces into a
file named runme.outoutfile_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.txtdata.txt into a file named octopusdir_a directory. (You may need to change the permissions
of the directory so that you can work in it.)
bad_name.txt to warrior.txt
remove_me.txt
tar file compressed with bzip2 named answer.tar.bz2
which contains the hw3_files directory.
answer.tar.bz2 file.
Follow the directions on the homework page.
Turn in someone else’s work.