CSCI 157: UNIX Power Utilities and Shell Programming
Laboratory Assignment 2
1. TURN-IN a hard copy of the following:
- On all homework please include
- Your Name
- Course Number
- Date
- ecst login name
- Self-test questions page 51. Numbers 2.5, 2.6, 2.8, 2.14, 2.19
- Exercises page 51-52. Numbers 2.1, 2.3, 2.4, 2.6, 2.13, 2.17, 2.18, 2.22
- Also answer the following questions (answers given in lab)
- How can you customize the Bash shell prompt?
- How do you create a Bash alias?
- What is the command for changing your default shell?
- What machine do we have to go to in order to change our default shell on campus?
- Give a brief description of the following directories
- /bin
- /dev
- /etc
- /usr
- /proc
- /mnt
- /opt
- /home
- /root
- /var
- What is the file /user/s/toddj/image.jpg a picture of?
Same as in Lab1, you do not need to write out the full question but
you need to
write more than just the answer to the question. Keep it
brief but coherent.
A couple of example answers for self-test questions page 28:
1.7 Ctrl-C interrupts a command.
1.13 BSD comes from Berkley.