分类:
2010-09-16 01:56:51
Printers | AIX | FreeBSD | HP-UX | LINUX | Solaris | Tru64 |
Printer Queues | /etc/qconfig | /var/spool/print | /etc/lp/interface/* | /var/spool/lpd/lp/* | /etc/lp/interfaces/* | /usr/spool/lpd |
Stop LP | stopsrc -s lpd | lpshut | /etc/init.d/lpd stop | /usr/lib/lp/lpshut | /sbin/init.d/lpd stop | |
Start LP | startsrc -s lpd | lpd | lpsched | /etc/init.d/lpd start | /usr/lib/lp/lpsched | /sbin/init.d/lpd start |
Submit print jobs | enq lp lpr qprt |
lp | lp | lpr | lp lpr |
lp lpr |
LP statistics | enq -A lpq lpstat qchk |
lpq | lpstat | lpq | lpstat | lpstat |
Remove print jobs | cancel lprm qcan enq -x |
cancel lprm |
cancel | lprm | cancel lprm |
cancel lprm |
Add printer queue | smit mkpq | lpadmin -p pq | printtool | lpadmin -p pq | lprsetup | |
Remove Printer queue | smit rmpq | lpadmin -x pq | lpadmin -x pq | lprsetup | ||
Make default printer | export LPDEST="pq" | lpadmin -d pq | lpadmin -d pq | export PRINTER="lp" | ||
TCP/IP | AIX | HP-UX | LINUX(RedHat) | Solaris | Tru64 | |
Network IP configuration | lsattr -E -l inet0 | /etc/rc.conf | /etc/rc.config.d/netconf | /etc/sysconfig/network-scripts/ | /etc/hostname.* /etc/inet/* /etc/defaultrouter |
/etc/rc.config |
Hosts IP addresses | /etc/hosts | /etc/hosts | /etc/hosts | /etc/hosts | /etc/inet/hosts | /etc/hosts |
Name service switch | /etc/netsvc.conf | /etc/host.conf | /etc/nsswitch.conf | /etc/nsswitch.conf | /etc/nsswitch.conf | /etc/svc.conf |
Network parameters | no -a | sysctl | ndd -h | sysctl -a | grep net | ndd /dev/[tcp|ip] ? | |
Routing daemon | gated | routed | gated | routed | in.routed | routed |
NIC Configurations | ifconfig -a | ifconfig -a | lanscan -v | ifconfig -a | ifconfig -a | ifconfig -a |
Secondary IP Address | ifconfig en0 alias IP | ifconfig xl0 alias IP | ifconfig lan0:1 IP | modprobe ip_alias ifconfig eth0:1 IP |
ifconfig hme0:1 IP up | ifconfig ln0 alias |
Login prompt | HERALD @ /etc/security/login.cfg |
telnetd -b /etc/issue | /etc/issue | BANNER @ /etc/default/telnetd |
/etc/issue | |
Increase the # of pseudo-terminals | odmget -q "attribute=num and uniquetype=pty/pty/pty" PdAt | sed "s/0-64/0-512/" | odmchange -q "attribute=num and uniquetype=pty/pty/pty" -o PdAt chdev -l pty0 -anum=256 -P |
rebuild your kernel with these new values NPTY=# NSTRPY=# reboot insf -d ptys -n # |
cd /dev ./MAKEDEV -v pty |
{/etc/system} set pt_cnt = # {SYSV} set npty = # {BSD} {/etc/iu.ap} halt |
cd /dev ./MAKEDEV PTY_1 | |
Maximum # of ptys | 512 | {MAXUSERS} | 256 | 176 {BSD} 3000 {SYSV} |
8192 | |
Remote Shell | remsh rsh |
rsh | remsh | rsh | rsh | rsh |
YP/NIS service binder | /usr/lib/netsvc/yp/ypbind | /usr/sbin/ypbind | /usr/lib/netsvc/yp/ypbind | /sbin/ypbind | /usr/lib/netsvc/yp/ypbind | /usr/sbin/ypbind |
chinaunix网友2010-09-16 15:25:01
很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com