The printer behind the queue laser has failed and will be off for days. Several jobs are already queued on it and must be printed today on the identical device behind the queue laser2, without asking the users to submit them again. Which command does that?

LPIC-1 Exam 102-500, objective 108. Essential system services medium

Machine-checked — no person has signed for it. This question was read against the source cited below by an automated pass, which found no contradiction. That is a weaker claim than it sounds: the same kind of process wrote the question, so it can confirm its own mistake.

Treat it as a good draft rather than as settled fact, and read the source below before you rely on it. It is not used in mock exams here — only questions a person has signed for are.

How these questions are written — where each question comes from, what the verification ledger records, and what happens when one is found wrong.

The options

Correct lpmove laser laser2

Correct. Given two destination names, lpmove transfers all queued jobs from the first destination to the second; given a job id and a destination, it moves that single job.

Not correct lpadmin -p laser -v laser2

Wrong. That rewrites the device URI of the laser queue to the literal string laser2, which is not a valid device URI, and it does nothing to jobs that are already spooled.

Not correct cupsdisable laser && cupsenable laser2

Wrong. Those commands only change whether each queue prints its own jobs. Disabling laser holds its jobs exactly where they are rather than relocating them.

Not correct lpr -P laser2 /var/spool/cups

Wrong. That would submit the spool directory itself as a new print job. Spool files are internal control and data files, not documents to resubmit.

Why

Queued jobs live in /var/spool/cups and belong to a destination, so relocating them is a scheduler operation rather than a resubmission. lpmove is the command for it and needs administrative rights when the jobs belong to other users. Pair it with cupsdisable or cupsreject on the broken queue so that nothing new lands there while the printer is out of service.

Where this comes from

Cited
manual page lpmove(8)

Practise this

Reading one question is not practice. The trainer will draw a short set from objective 108 and space the ones you get wrong.

Practise LPIC-1 Exam 102-500

More questions on this objective

All questions on Essential system services

Practise LPIC-1 Exam 102-500