Question: UNIX PROGRAMMING Problem 9 (12 points): Answer the following questions assuming that the file names .txt contains the following 9 lines of content: names txt

UNIX PROGRAMMING

Problem 9 (12 points): Answer the following questions assuming that the file names.txt contains the following 9 lines of content:

UNIX PROGRAMMING Problem 9 (12 points): Answer the following questions assuming that

names txt Admins: Bob John Dr. Evil Sarah Tim Chris a Give the command for obtaining the lines starting at (and including) "Dr. Evil" and going to the end of the file. b) Give the command for obtaining just the first two lines of the file "names txt". c Give the command for obtaining just the names in the file (from "Bob" to "Chris" inclusively) using the tail and head commands d) Give the command to open the file "names txt" for reading, starting at the line containing "John" (do not use the line number). e) Give the command to open the file "names ixt" for reading, starting at line 5. f Give the command for quickly printing off (displaying on the terminal window) the entire contents of the file "names txt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!