Unix Syntax Comparison: Devices/Printers

The following are pages that list various commands and tools for Solaris, Linux, HP-UX, and AIX.

Task Solaris Linux HP-UX AIX
Printer Queues /etc/lp/interfaces/* /var/spool/lpd/lp/* /etc/lp/interface/* /etc/qconfig
Stop LP /usr/lib/lp/lpshut /etc/init.d/lpd stop lpshut stopsrc -s lpd
Start LP /usr/lib/lp/lpsched /etc/init.d/lpd start lpsched startsrc -s lpd
Submit Print Jobs lp
lpr
lpr lp enq
lp
lpr
qprt
LP Statistics lpstat lpq lpstat enq -A
lpq
lpstat
qchk
Remove Print Jobs cancel
lprm
lprm cancel cancel
lprm
qcan
enq -x
Add Printer Queue lpadmin -p pq printtool lpadmin -p pq smit mkpq
Remove Printer
Queue
lpadmin -x pq   lpadmin -x pq smit rmpq
Make Default Printer lpadmin -d pq   lpadmin -d pq export LPDEST="pq"
Devices /devices /dev /dev /dev
Remove Device rem_drv   rmsf rmdev -l
Device Drivers prtconf -D   lsdev lscfg
CPU psrinfo -v cat /proc/cpuinfo ioscan -fnC processor lsdev -Cc processor
List Terminal pmadm -l   ioscan -fnC tty lsdev -Cc tty
Diagnostics /usr/platform/`uname -m`/
sbin/prtdiag
ok test-all
/opt/SUNWvts/
bin/sunvts
lspci stm diag