nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #299

LFCS Question #299: Real Exam Question with Answer & Explanation

The correct answer is C: cupsdisable -c -r hello Laserjet4. To pause a CUPS printer and cancel all its jobs with a message, the cupsdisable command with the -c and -r options is used.

Submitted by akirajp· Apr 18, 2026Operation of Running Systems

Question

An administrator needs to pause the CUPS printer Laserjet4, and wants to cancel all print jobs with a message, "hello". Which of the following commands will do this?

Options

  • Acupsreject -c -r hello Laserjet4
  • Bcupsreject -p -m hello Laserjet4
  • Ccupsdisable -c -r hello Laserjet4
  • Dcupsdisable -p -m hello Laserjet4

Explanation

To pause a CUPS printer and cancel all its jobs with a message, the cupsdisable command with the -c and -r options is used.

Common mistakes.

  • A. cupsreject only prevents new jobs from being accepted by a printer; it does not pause the printer or cancel existing jobs, and the -c option is not standard for it.
  • B. cupsreject only prevents new jobs; it doesn't pause or cancel existing ones, and the options -p and -m are not the correct ones for canceling jobs with cupsreject.
  • D. cupsdisable correctly pauses the printer, but the options -p and -m are not the standard options for canceling all jobs and providing a reason message; -c and -r are the correct options.

Concept tested. CUPS printer management (pause, cancel jobs)

Reference. https://manpages.ubuntu.com/manpages/jammy/en/man8/cupsdisable.8.html

Topics

#CUPS#Printer management#cupsdisable#Print job control

Community Discussion

No community discussion yet for this question.

Full LFCS PracticeBrowse All LFCS Questions