Getting Started with Unix

The goal of this assignment is to give you some experience using the Unix environment. This assignment is to be done individually.

This assignment should be done on babyred. All of you should have accounts on babyred. To log in, ssh to babyred.mtholyoke.edu. If you have any trouble logging in, you should contact me immediately.

If you want to do the assignment elsewhere, you should contact me first.

Your assignment is to read the "Introduction to the Unix Operating System" and do tutorials 1 through 6 available at: http://www.ee.surrey.ac.uk/Teaching/Unix/. You should try all of the commands outlined in the tutorials. You are welcome to use additional resources as long as you cite them. Some additional resources you might find helpful are:
http://www.washington.edu/computing/unix/startdoc/
http://wks.uts.ohio-state.edu/unix_course/intro-137.html
http://www.math.utah.edu/lab/unix/unix-commands.html

Note: The tutorial asks you to copy the file /vol/examples/tutorial/science.txt. Instead, copy the file /home/babyred/u1/srollins/public/science.txt.

  1. What command would you use to list all of the files ending in .txt that are stored in /home/babyred/u1/srollins/public/?
  2. Which users have world-executable home directories? Which command(s) did you use to determine this? Hint, users home directories are stored in /home/babyred/u1/.
  3. Suppose I am logged into MHC from home and I have pine running. Now, suppose my connection is lost but the pine process continues to run. What is the series of commands I would need to use to find and kill the process?
  4. How many kilobytes of space are used by the directory /home/babyred/u1/srollins/public/?


Sami Rollins