WritingsDEPOT

Download UNIX Questions

Sep 8th, 2015
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1.  
  2. Download: http://writingsdepot.com/downloads/unix-questions/
  3. Instructions: Please answer all questions in your own words
  4. Part I: Questions (30%)
  5. 1. (5 points) In terms of porting UNIX, what part of the UNIX OS requires modification? why?
  6. 2. (20 points) As a system administrator, how do you deal with the two views of operating systems? In your answer, clearly state what system administrators do for users, the organization, etc.
  7. 3. (5 points) What is the primary function of the Shell?
  8. Part II: Commands (70%):
  9. Please simply write the command(s) which performs the following tasks Debian (your VM) in as few commands as possible. Note: If you do not indicate which shell you are using, I will assume you are using the bash shell (whether or not you are actually using this shell)
  10. 1. (15 points) Suppose you had three files (file1, file2, and file3) and you wanted to know how many lines in each of those three files did NOT contain the word fresh.
  11. 2. (40 points) Follow the instructions showing the command and the screen that appears directly after typing the command
  12. a. (3 points) Show the date on the screen
  13. b. (3 points) Create new directories named hwkNew and hwkOld
  14. c. (3 points) Show a listing of the directory
  15. d. (5 points) Create empty files named hw1A, hw2c, hw3A, hw3B, hw3Bc, hw4turnin, hw5what, and hw6isthis using the touch command
  16. e. (3 points) Show a listing of the directory
  17. f. (5 points) Copy all newly created files to hwkOld directory
  18. g. (5 points) Copy the files hw3A and hw3B to the hwkNew directory
  19. h. (5 points) Remove the files named hw1A, hw3A, and hw5what.
  20. i. (3 points) Show a listing of the directory
  21. j. (5 points) Delete the directory from above named hwkNew in a single command
  22. 3. (15 points) List the files in your current working directory sorted by file size using a long listing that uses a human readable format for file sizes.
  23.  
  24. Download: http://writingsdepot.com/downloads/unix-questions/
Add Comment
Please, Sign In to add comment