Difficulty: Easy
Correct Answer: lpr
Explanation:
Introduction / Context:
Legacy printing systems on Unix-like OSes follow the BSD model, where different commands handle submission, status checks, and administration. Recognizing which command queues a job is critical when working with older systems or CUPS in BSD compatibility mode.
Given Data / Assumptions:
Concept / Approach:
lpr submits (prints) files. lpd is the line printer daemon. lpq checks the queue status, and lpc provides printer control (start/stop, etc.). On modern systems using CUPS, lpr remains the user-facing submission command in many setups.
Step-by-Step Solution:
Verification / Alternative check:
After running lpr, confirm with lpq or CUPS web UI (http://localhost:631 ) if available. Logs can be checked under /var/log/cups/.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
lpr.
Discussion & Comments