Linux Phrasebook

lprm -

What if you have several print jobs you want to cancel? You could delete them all by specifying all of their job ID numbers, like this:

$ lprm 489 490 491 492 493

That's too much typing, however. If you want to get rid of all print jobs you've queued on every printer, just follow lprm with a hyphen:

$ lprm -

It's quick, it's painless, and it's lazy in the best Linux tradition. Nothing to be ashamed of there!

Категории