Which of the following commands can be used to set the default printer for all users on a Linux system where printer1 is the name of the printer?

A. lp -d printer1
B. lpoptions -d printer1
C. lpd -d printer1
D. lpq --set-default printer1


Answer: B

Computer Science & Information Technology

You might also like to view...

There are _______ types of hypervisors, distinguished by whether there is another operating system between the hypervisor and the host.

A) two B) three C) four D) five

Computer Science & Information Technology

The WordArt gallery is available from the ________ tab in the WordArt Styles group

Fill in the blank(s) with correct word

Computer Science & Information Technology

You can print a ____ view of your calendar.

A. monthly B. daily C. weekly D. yearly

Computer Science & Information Technology

Which statement about bubble sort is true?

a) a maximum of n passes are needed to sort the array, where n is the number of elements b) swapping values requires two assignments c) performance is maximized d) the algorithm is very simple compared to other sorting procedures

Computer Science & Information Technology