Lp (Unix)
From Wikipedia, the free encyclopedia
- The correct title of this article is lp (Unix). The initial letter is shown capitalized due to technical restrictions.
The lp command is used on many Unix-like systems to assign jobs to printer queues. The name derives from "lineprinter", though it has become the commonly used command for any sort of printer. The command originally appeared as part of the System V printing system, and for some time served as a shibboleth to distinguish between SysV and BSD systems.
- lp(1) is the standard name for the UNIX System V printer command.
- The Common Unix Printing System, used on Linux and Mac OS X among other systems, uses lp as the primary program for job assignment.
- The official Line Printer Daemon protocol does not define an lp command. The lpr command is used instead.
- The LPRng project provides lp as a simple wrapper to the lpr command.
- Plan 9 from Bell Labs uses a command called lp for printing, though its functionality is somewhat different and simplified from the System V version. It is actually written as an rc shell script.
[edit] External links
Unix command line programs and builtins (more) | |||
File and file system management: | cat | cd | chmod | chown | chgrp | cp | du | df | file | fsck | ln | ls | lsof | mkdir | mount | mv | pwd | rm | rmdir | split | touch | ||
Process management: | at | chroot | crontab | exit | kill | killall | nice | pgrep | pidof | pkill | ps | sleep | time | top | wait | watch | ||
User Management/Environment: | env | finger | id | mesg | passwd | su | sudo | uname | uptime | w | wall | who | whoami | write | ||
Text processing: | awk | comm | cut | ex | head | iconv | join | less | more | paste | sed | sort | tail | tr | uniq | wc | xargs | ||
Shell programming: | echo | expr | printf | unset | Printing: | lp |
Communications: inetd | netstat | ping | rlogin | traceroute |
Searching: find | grep | strings |
Miscellaneous: banner | bc | cal | man | size | yes |