Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://writingsdepot.com/downloads/unix-questions/
- Instructions: Please answer all questions in your own words
- Part I: Questions (30%)
- 1. (5 points) In terms of porting UNIX, what part of the UNIX OS requires modification? why?
- 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.
- 3. (5 points) What is the primary function of the Shell?
- Part II: Commands (70%):
- 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)
- 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.
- 2. (40 points) Follow the instructions showing the command and the screen that appears directly after typing the command
- a. (3 points) Show the date on the screen
- b. (3 points) Create new directories named hwkNew and hwkOld
- c. (3 points) Show a listing of the directory
- d. (5 points) Create empty files named hw1A, hw2c, hw3A, hw3B, hw3Bc, hw4turnin, hw5what, and hw6isthis using the touch command
- e. (3 points) Show a listing of the directory
- f. (5 points) Copy all newly created files to hwkOld directory
- g. (5 points) Copy the files hw3A and hw3B to the hwkNew directory
- h. (5 points) Remove the files named hw1A, hw3A, and hw5what.
- i. (3 points) Show a listing of the directory
- j. (5 points) Delete the directory from above named hwkNew in a single command
- 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.
- Download: http://writingsdepot.com/downloads/unix-questions/
Add Comment
Please, Sign In to add comment