Solutions to Lab 1 ------------------ 1. Do a 'pwd' to find out. 2. You will find many of the comamnds in the /bin directory. 3. You can notice mv, cp, pwd, rm, cat, ls, etc. 5. a) cd ../../christiansburg/wallmart/ b) cd ~/cs2204/lab1/christiansburg/wallmart/ c) cd /cs2204/lab1/christiansburg/wallmart/ 6. This problem illustrates the meaning of 'cat', i.e., as in 'concatenate'. Given multiple files as input, 'cat' concatenates their content as output onto the terminal. 7. head prints out the first few lines of a file; tail prints out the last few lines of the file. Notice that, in the case of a small file, different options might seem to have no effect, e.g., in resolv.conf, 'head -100' doesn't really make sense if there are less than 100 lines. In this case, 'head' behaves just like 'cat', and so on.