Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

11: What would the command 'tra-z A-Z do? O Convert any numbers on the input to lower-case letters. O None of the other answers is

image text in transcribed
image text in transcribed
11: What would the command 'tra-z A-Z do? O Convert any numbers on the input to lower-case letters. O None of the other answers is correct. O Pass the input unchanged. Convert any numbers on the input to upper-case letters. Convert any lower-case letters on the input to upper-case letters. 12: What does the notation "foo(1)" mean? O Run "foo" once; "foo(2)" would run the program again its own output. O When you type this, the system runs version(1) of the "foo" program. O None of the other answers is correct. Information about "foo" can be found by running "man 1 foo". Command "foo" requires its arguments be in parentheses. 13: In "more", what does the return key do? Nothing; causes an error. O Moves down one screenful. O Deletes the current screenful from the file. O Moves down one line. O Quits the program. 14: What does "head" do? O None of the other answers is correct. O Shows only the first few lines of output of a command, or a file. Transforms input characters before passing them to output. Shows only the last few lines of output. Re-arranges input lines. 15: What does "sort" do? Transforms input characters before passing them to output. O Re-arranges input lines, putting them in order. Shows only the first few lines of output. Breaks up lots of output into page-size chunks. O Selects some lines from the input to pass to the output. 16. VILA 16: Which flag to sort causes it to sort in descending order? O-C O None of the other answers is correct. O-f O-n 17: Which sort key below specifies the first field on a line? O-k0,0 +1 O None of the other answers is correct. O+A O-k1,1 18: Which flag to sort causes it to suppress duplicate lines? Ord O No flag needed, this is the default behaviour. O-u None of the other answers is correct. 19: Which filter does character transformation? O sed tail tr sort grep 20: "who" prints out the people currently logged in, in the format username tty date time machine, like this: root tty1 2020-08-01 08:35 albus pts/1 2020-08-04 11:53 (17.168.145.144) severus pts/3 2020-08-11 08:35 (150.250.45.24) minerva pts/4 2020-08-07 18:21 (17.186.201.33) severus pts/6 2020-08-11 08:36 (150.250.45.24) (Note that root is logged in on the console, not via SSH from another machine.) What would 'who sort-kl' do? Sort the list by user name. Give a list of who is logged its sorted by tty Give a list of who is logged in sorted by month. Sort the list by when they logged in

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

1. What are the major sources of stress in your life?

Answered: 1 week ago

Question

What tools might be helpful?

Answered: 1 week ago