$25+
This assignment (and future ones) require you to have access to a Unix-like
(Linux, Mac OS X, etc) machine. If you do not have such an operating system installed on your local machine, make sure to get a CSUG Lab account. Different systems
have slightly different configurations. The main environment in this class will be GNU/Linux.
This first homework is to practice some basic file manipulation. Complete the following steps
and upload the required file to CMS.
1. In your home directory create a directory called a1 and navigate to that directory
2. Download the file
http://www.cs.cornell.edu/courses/cs2043/2015sp/assignments/a1download.sh
3. Rename a1download.sh to a1run.sh
4. Make a1run.sh executable
5. Create a file a1file
6. Write
Dwoxawlj+yfi+heai+fyyq[<<ooo?bk?bwuxiaa?ijr<bwrukik<bk(!&*<(!)^kq<l)ixjglzi+lxj+hwaawo+eyk+exkyurbyewxk?
to a1file.
7. Remove write permissions from a1file
8. a1run.sh is a bash script. Once you have changed the permissions as asked above, run
it by typing ./a1run.sh
9. If you have completed the above steps correctly, instructions will be printed on the
screen. Follow the printed instructions to complete the assignment.
Remember your two best friends are the man tool and your favorite search engine.
NOTE #2: If you hated that this assignment forced files to be in specific directories, do
not worry, this is the only assignment that requires that.