lprm
system administrationLinux/Unix
The lprm command is one of the most frequently used commands in Linux/Unix-like operating systems. lprm Remove jobs from the print queue
Quick Reference
Command Name:
lprm
Category:
system administration
Platform:
Linux/Unix
Basic Usage:
lprm [options] [arguments]
Common Use Cases
Syntax
lprm [options] [job_id...]
Options
Option | Description |
---|---|
- |
Remove all jobs owned by the current user |
-P printer |
Specify the printer queue |
-h server |
Specify the print server |
-U username |
Specify the user (requires appropriate permissions) |
-V |
Display the CUPS version number |
-E |
Force encryption when connecting to the server |
Examples
How to Use These Examples
The examples below show common ways to use the lprm
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Basic Examples Basic
lprm 123