Linux Survival
Search
Primary Menu
Skip to content
Home
Blog
Testimonials
Linux Links
Command List
Contact
Search for:
Linux Survival
At this time, you might want to check on the status of your print job, in case there is a problem with the printer or there are a large numbers of print jobs ahead of your own. If you type "lpq" without any arguments, you will be shown the status of all print jobs in the default print queue. To display all of the print jobs in a different queue, use the '-P' option, just as you would for the "lpr" command. For example, to check on your print job in the "hp14" queue, you would type lpq -P hp14 In the example shown in the terminal, our print job is the only one in the "hp-14" queue. If there were other print jobs ahead of ours, its rank would be something like "4th" rather than "active". The meaning of the rest of the status line should be self-explanatory. Note that the first line in the output shows the status of the print queue itself. If there were a problem with the print queue, it would say something like "Warning: no daemon present". Click the right arrow.
Page 48
Where learning Linux is easy
Module 1 Introduction
Directory Structure
List Directory
View File Contents
Create Directory
Move and Rename File
Change Directory
Get Current Location
Quiz 1
End of Module 1
Module 2 Introduction
Pathnames
Copy File
Remove File
Remove Directory
File Security
Change File Permissions
Wildcards
Groups Memberships
Quiz 2
End of Module 2
Module 3 Introduction
Home Directories
Manual Pages
User Information
Find File
Concatenate Files
Redirect Output
Print
Print Job Status
Cancel Print Job
Quiz 3
End of Module 3
Module 4 Introduction
Copy Tree
Disk Space
Remove Tree
Process Status
Pipe Output
Pattern Matching
Kill Process
Quiz 4
Conclusion