Interview Questions

You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?

Operating System Interview Questions and Answers


(Continued from previous question...)

You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?

You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this? Choose one:
a. pr -l60 vacations | lpr
b. pr -f vacations | lpr
c. pr -m vacations | lpr
d. pr -l vacations | lpr


Answer: a
The default page length when using pr is 66 lines. The -l option is used to specify a different length.

(Continued on next question...)

Other Interview Questions