YouTip LogoYouTip

Linux Comm Lprm

Linux lprm Command

Linux lprm Command

-- Learning is not just about technology, but also about dreams!

Linux Tutorial

Linux Tutorial Linux Introduction Linux Installation Linux Cloud Server WSL Install Linux Linux System Boot Process Linux System Directory Structure Linux Forgot Password Solution Linux Remote Login Linux File Basic Attributes Linux File and Directory Management Linux User and User Group Management Linux Disk Management Linux vi/vim Linux yum command Linux apt command

Shell Tutorial

Shell Tutorial Shell Variables Shell Passing Arguments Shell Arrays Shell Operators Shell echo command Shell printf command Shell test command Shell Flow Control Shell Functions Shell Input/Output Redirection Shell File Inclusion

Linux Reference Manual

Linux Command Manual Nginx Installation and Configuration MySQL Installation and Configuration Linux Quiz

Shell File Inclusion

Nginx Installation and Configuration

Deep Exploration

Software

Network Services

Programming Languages

Scripting Languages

Web Design and Development

Computer Science

Development Tools

Web Service

Scripting

Programming

Linux lprm Command

Linux Command Manual Linux Command Manual

The Linux lprm command is used to remove a job from the printer queue.

Unfinished printer jobs are placed in the printer queue. This command can be used to cancel jobs that have not yet been sent to the printer. Since each printer has its own independent queue, you can use the -P option to specify the printer you want to act on. If not specified, the system's default printer will be used.

This command checks whether the user has sufficient permissions to delete the specified file. Generally, only the file's owner or the system administrator has this permission.

Syntax

/usr/bin/lprm  [file...]

Examples

Remove job number 1123 from the printer hpprinter:

lprm -Phpprinter 1123

Remove job number 1011 from the default printer:

lprm 1011

Linux Command Manual Linux Command Manual

← Linux Comm LprLinux Comm Wc β†’