Master Linux Print and FTP Commands: lpr, lprm, lpq, lpd, ftp, tftp & More
This guide explains essential Linux commands for managing print queues and FTP transfers, detailing their purpose, usage scenarios, required permissions, and exact syntax for commands such as lprm, lpr, lpq, lpd, bye, ftp, uuto, uupick, uucp, uucico, tftp, ncftp, ftpshut, ftpwho, and ftpcount.
Linux lprm Command
The lprm command removes a job from the printer queue; it can target a specific printer with the -P option and requires appropriate permissions (owner or admin).
Syntax
/usr/bin/lprm [P] [file]...Linux lpr Command
The lpr utility places one or more files into the print queue, supporting local or remote printers.
Syntax
lpr [-P printer]Linux lpq Command
lpq displays the status of a print queue, showing queued jobs and their owners.
Syntax
lpq [l] [P] [user]Linux lpd Command
lpd is a daemon that manages printers based on /etc/printcap, handling both local and remote devices.
Syntax
lpd [-l][#port]Linux bye Command
bye terminates an FTP session and exits the program.
Syntax
byeLinux ftp Command
ftp initiates a file transfer session using the standard FTP protocol.
Syntax
ftp [-dignv] [hostname or IP]Linux uuto Command
uuto transfers files to a remote UUCP host.
Syntax
uuto [file] [destination]Linux uupick Command
uupick processes incoming files received via UUCP.
Syntax
uupick [-v] [-I <config>] [-s <host>] [-x <level>] [--help]Linux uucp Command
uucp moves files between Unix systems using the UUCP protocol.
Syntax
uucp [-cCdfjmrRtvW] [-g<level>] [-I<config>] [-n<user>] [-x<type>] [--help] [source] [dest]Linux uucico Command
uucico is the UUCP file‑transfer service program, operating in active or passive mode.
Syntax
uucico [-cCDefqvwz] [-i<type>] [-I<file>] [-p<port>] [-rl] [-s<host>] [-S<host>] [-u<user>] [-x<type>] [--help]Linux tftp Command
tftp is a simple text‑mode FTP client for transferring files.
Syntax
tftp [hostname or IP]Linux ncftp Command
ncftp is an advanced text‑mode FTP client with features like transfer rate display, resume, and proxy support.
Syntax
ncftp [host or IP]Linux ftpshut Command
ftpshut schedules a shutdown of the FTP server, optionally issuing a warning message.
Syntax
ftpshut [-d <minutes>] [-l <minutes>] [shutdown_time] ["warning message"]Linux ftpwho Command
ftpwho lists all users currently logged into the FTP server.
Syntax
ftpwhoLinux ftpcount Command
ftpcount shows the number of active FTP users and the maximum allowed.
Syntax
ftpcountSigned-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
MaGe Linux Operations
Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
