The lpr and sort utilities accept input either from a file named on the command line or from standard input.

a. Name two other utilities that function in a similar manner.
b. Name a utility that accepts its input only from standard input.


a. cat, grep, and uniq
b. tr and xargs

Computer Science & Information Technology

You might also like to view...

A(n) ____ variable is used to store a characteristic of an object.

A. global B. control C. method D. property

Computer Science & Information Technology

CD method_______ obtains the total number of audio tracks on the disc.

a) get_tracks. b) get_clips. c) get_numtracks. d) None of the above.

Computer Science & Information Technology

Which of the following for-loop headers results in equivalent numbers of iterations:

A. for (int q = 1; q <= 100; q++) B. for (int q = 100; q >= 0; q--) C. for (int q = 99; q > 0; q -= 9) D. for (int q = 990; q > 0; q -= 90) a. A and B. b. C and D. c. A and B have equivalent iterations and C and D have equivalent iterations. d. None of the loops have equivalent iterations.

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. A real-world example of the queue data structure can be seen in a stack of cafeteria trays, where the last tray pushed onto the stack is the first tray removed. 2. In a static stack class, the constructor function can dynamically allocate memory for the stack array. 3. Stacks and queues can be implemented as arrays or linked lists. 4. The programmer must declare in advance the size of a dynamic stack or queue. 5. A stack that is implemented as a linked list is known as a deque.

Computer Science & Information Technology