Unix – Section 3

6. Which command is used to save the standard output in a file, as well as display it on the terminal?

A. more
B. cat
C. grep
D. tee
E. None of the above

Correct Answer: D. tee

7. The command that can be used to restrict incoming messages to a user is

A. mesg
B. grep
C. halt
D. sleep
E. None of the above

Correct Answer: A. mesg

8. Which of the following commands is used to copy directory structures in and out

A. cp
B. cpio
C. cp – p
D. copy
E. None of the above

Correct Answer: B. cpio

9. Which of the following commands is used for an automatic reminder service?

A. write
B. mesg
C. calendar
D. mail
E. None of the above

Correct Answer: C. calendar

10. Which command allows you to view your file 24 lines at a time?

A. more
B. pg
C. cat
D. lp
E. None of the above

Correct Answer: B. pg

Leave A Comment?

6 + 6 =