LPIC-1 Essential System Services and Networking Practice Question
A user submitted a print job to a CUPS printer but used the wrong options. Which command should the administrator use to cancel the job?
⚠ Common exam trap
The trap here is that candidates familiar with legacy BSD/LPD printing systems may instinctively choose `lprm`, but CUPS uses the `cancel` command as its standard job cancellation tool, and `lprm` is not the correct CUPS command.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
cancel
The `cancel` command is the correct CUPS utility to terminate a print job that has already been submitted. It accepts either a job ID (e.g., `cancel 123`) or a printer name (e.g., `cancel printer-name`) to cancel the currently active job on that printer. This command directly communicates with the CUPS daemon to remove the job from the queue.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
lpstat
Why it's wrong here
lpstat displays printer status and job queue, but does not cancel jobs.
- ✓
cancel
Why this is correct
The cancel command is part of CUPS and cancels print jobs.
- ✗
lprm
Why it's wrong here
lprm is the BSD command for canceling jobs, not CUPS.
- ✗
lpadmin
Why it's wrong here
lpadmin is for printer administration, not job cancellation.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LPIC-1 question from scratch — 527 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.