Users on your network cannot print to a Linux printer. You decide to restart the printer daemon, which command would achieve that?

  1. topq printer-name

  2. enable printer-name

  3. restart printer-name

  4. up printer-name


Correct Option: C
Explanation:

To solve this question, the user needs to know the basic command to restart a printer daemon in Linux.

Now, let's go through each option and explain why it is right or wrong:

A. topq printer-name: This option is incorrect because the command "topq" is not a valid command in Linux. It does not exist and cannot be used to restart a printer daemon.

B. enable printer-name: This option is incorrect because the command "enable" is used to enable a printer, not restart the printer daemon. It does not restart the printer daemon.

C. restart printer-name: This option is incorrect because the command "restart" is not the correct command to restart a printer daemon in Linux. The correct command to restart the printer daemon is "systemctl restart cups".

D. up printer-name: This option is incorrect because the command "up" is not a valid command to restart a printer daemon. It does not exist in Linux.

The correct answer is:

The Answer is: C. restart printer-name

Find more quizzes: