This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: UNIX Fall 2009 Commands I n-Class 4 The following questions will test intermediate knowledge of the *NIX terminal. 1. Write the command that would create a shortcut to the E115 course locker. eos% attach e115 2. After doing so, what would be the new pathname that we can use to access it? eos% /ncsu/e115 3. Write a command you could use to look at the contents of a file named cows.txt in your home directory. eos% more cows.txt 4. Write the command that would create a zip file named test.zip with the files cows.txt, steak.txt, and me.jpg (all in your current directory). eos% zip test.zip cows.txt steak.txt me.jpg 5. What command would you use to see how much free space you have in your home directory’s volume? eos% quota 6. How would you give ToniAnn Marini (Unity ID: tamarini) both read and look access to your home directory? eos% fs sa /afs/unity.ncsu.edu/users/w/wbnance tamarini rl 7. How would you remove the access you gave ToniAnn in #6? eos% fs sa ./ tamarini none 8. Write the command that would allow you to access the backup of your home directory. fs mkm BACKUP users.wbnance.backup 9. After setting up the backup, how would you see the contents of it? by executing the ls command 10. When you’re done using the backup, how would you remove the path to it? fs rmm BACKUP 11. 12. COMPLETED BY WILL NANCE ...
View Full Document
- Spring '09
- Filename, Working directory, ToniAnn Marini