CS 114: UNIX Tools
Homework 1
Due Friday, March 2, 2:30 PM
Problem 1:
Send an e-mail to hollandm@cs.cornell.edu, FROM YOUR BABBAGE ACCOUNT, describing why you are taking CS114 and/or what specific topics you are
hoping to see covered. The subject line must read: HW1 CS114
There is nothing additional to hand in for this problem.
Problem 2:
In this question, you are asked to browse a directory on babbage and find a set of files. Note that while you are welcome to explore "system"
directories on babbage, such as those rooted at /bin, /usr, /var, /lib and so on, it is not considered appropriate to explore the directories
of other users without their permission, even if the Unix permissions are set to allow it.
Within the ~cs114/P2 directory, find the files a.txt, b.txt, c.txt, and d.txt. For each file, record the path name of the file relative to ~cs114 (e.g., the pathname of the P2 directory relative to ~cs114 is ~cs114/P2).
Write down and hand in these path names for each file.
Problem 3:
In this question you will learn about some new commands and options using man pages.
Write down and hand in the answer to each of the questions above.
Problem 4:
In this question, you are asked to copy files from the cs114 home directory to your own account on babbage and perform some manipulations on these files.
While logged into babbage, do the following:
Unless specified otherwise, you can make the permissions on these files and directories be whatever you like so long as:
There is nothing additional to hand in for this problem.