This preview shows pages 1–2. Sign up to view the full content.
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. attach e115 2. After doing so, what would be the new pathname that we can use to access it? cd /ncsu/e115 3. Write a command you could use to look at the contents of a file named cows.txt in your home directory. ls –l 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). zip file.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? quota 6. How would you give ToniAnn Marini (Unity ID: tamarini) both read and look access to your home directory? fs sa ~/ tamarini rl 7. How would you remove the access you gave ToniAnn in #6? fs sa ~/ tamarini none 8. Write the command that would allow you to access the backup of your home directory. fs mkm BACKUP users.msholgad.backup 9. After setting up the backup, how would you see the contents of it? cd BACKUP; ls 10. When you’re done using the backup, how would you remove the path to it? fs rmm BACKUP ...
View Full Document
This note was uploaded on 11/02/2009 for the course E E115 taught by Professor Burgett during the Spring '09 term at N.C. State.
- Spring '09