A Sysadmin's Unixersal Translator (Rosetta Stone) OR What do they call that in this world? | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OPERATING SYSTEM
Contributions and corrections gratefully accepted.
Please help us fill in the blanks. New "activities" are welcome, too! framed version. PDF version. (Print the PDF version with landscape orientation for best result.) Based on Pat Wilson's version; PDF courtesy of Sebastien Routier. OS versions in parentheses; e.g. 10+ means version 10 and greater; 9- means version 9 and previous. $=extra cost |
|||||||||||||
ACTIVITY | AIX | DG-UX | FreeBSD | HP-UX | IRIX | Linux (rh) = Red Hat, Mandrake, Suse,... (deb) = Debian, Corel, Storm,... |
NetBSD | OpenBSD | Solaris | SunOS | Tru64 (Digital Unix, OSF/1) | Ultrix | ACTIVITY |
list hardware configuration |
lscfg | dg_sysreport -g hardware | dmesg | ioscan dmesg (if you're lucky) adb stm (from the SupportPlus CDROM) |
hinv |
dmesg (if you're lucky) |
dmesg cat /kern/msgbuf |
dmesg | prtconf prtdiag -v psrinfo -v dmesg |
dmesg (if you're lucky) | uerf -R -o full (if you're lucky) | uerf -R -o full (if you're lucky) | list hardware configuration |
show/set EEPROM/NVRAM values |
setboot bootadmin (at boot PROM) stm |
nvram | hwclock | openprom (on OpenFirmware architectures) |
eeprom | consvar (DU 4.0D+) |
show/set EEPROM/NVRAM values |
||||||
administrative GUI | smit smitty |
sysadm | /stand/sysinstall | sam | /usr/sysadm/bin/sysmgr (6.3+) | (rh) linuxconf | solstice admintool |
administrative GUI | |||||
read a disk label | lspv -l | admpdisk -o list admvdisk -o list |
disklabel -r | diskinfo pvdisplay |
prtvtoc | fdisk -l | disklabel -r | fdisk -r OR disklabel -rl | prtvtoc | dkinfo | disklabel -r | chpt -q | read a disk label |
whole disk in partition | N/A | c | 10 | d (on i386) c (everything else) |
c | 2 | c | c | c | whole disk in partition | |||
label a disk | mkvg | admpdisk | fdisk disklabel -wr sysinstall |
pvcreate | dvhtool | disklabel -wr | disklabel -wr | format | format | disklabel -wr | chpt -a | label a disk | |
partition a disk | crfs | admpdisk | fdisk sysinstall |
sam | fx -x | fdisk | disklabel | fdisk -e OR disklabel -E | format fmthard |
format | disklabel -e | chpt -p | partition a disk |
check swap space | lsps -a | admswap -o list -buv dg_sysreport -p freeswap |
swapinfo | swapinfo | swap -s swap -l |
cat /proc/meminfo free |
swapctl | swapctl | swap -s swap -l |
pstat -s | swapon -s | check swap space | |
kernel | /unix | /dgux | /kernel | /hpux (9) /stand/vmunix (10+) |
/unix | /boot/vmlinuz | /netbsd | /bsd | /kernel/genunix /platform/`uname -m`/ kernel/unix /platform/`uname -m`/ kernel/sparcv9/unix (7+) |
/vmunix | /vmunix | kernel | |
show/set kernel parameters | /boot/kernel.conf | sam sysdef kmtune (11+) |
systune | /proc/* /proc/sys/* |
/etc/boot.conf | cat /etc/system | sysconfig dxkerneltuner |
show/set kernel parameters | |||||
startup scripts | /etc/rc* | /etc/rc* | /etc/rc* /usr/local/etc/rc.d/ |
/etc/rc* (9) /sbin/rc* (10+) |
/etc/rc* | /etc/rc* (but may vary) | /etc/rc* |
/etc/rc* |
/etc/rc* | /etc/rc* | /sbin/rc* | /etc/rc* | startup scripts |
"normal" filesystem | jfs | dg/ux | ufs | hfs | efs, xfs | ext2 | ffs (was ufs) | ffs (was ufs) | ufs | 4.2 | ufs | ufs | "normal" filesystem |
volume based filesystem | jfs | ccd vinum |
jfs (vxfs) | xlv, xvm, xfs | ccd, raidframe |
ccd |
Advfs LSM |
volume based filesystem | |||||
file system description |
/etc/filesystems | /etc/fstab | /etc/fstab | /etc/checklist (9) /etc/fstab (10+) |
/etc/fstab | /etc/fstab | /etc/fstab | /etc/fstab | /etc/vfstab | /etc/fstab | /etc/fstab | /etc/fstab | file system description |
volume manipulation | smitty vg smitty lvm smitty jfs |
vinum | /usr/sbin/vg* lv* pv* extendfs |
xlv_mgr |
/opt/VRTSvxva/bin/vxva (Veritas) /usr/opt/SUNWmd/ sbin/metatool (DiskSuite) |
AdvFS: mkfdmn, mkfset, addvol, showfdmn LSM: volassist or volmake, volume, volplex and volsd, volprint |
volume manipulation | ||||||
create non-0-length empty file | prealloc | mkfile | mkfile | create non-0-length empty file | |||||||||
NFS share definitions | /etc/exports | /etc/exports | /etc/exports | /etc/exports | /etc/exports | /etc/exports | /etc/exports | /etc/dfs/dfstab | /etc/exports | /etc/exports | NFS share definitions | ||
NFS share command | kill -s HUP `cat /var/run/mountd.pid` | exportfs -a | exportfs | exportfs -a | kill -s HUP `cat /var/run/mountd.pid` | share shareall |
exportfs -a | /sbin/init.d/nfs start; /sbin/init.d/nfsmount start | NFS share command | ||||
encrypted passwords in | /etc/security/passwd | /etc/shadow | /etc/master.passwd | /etc/passwd (not Trusted) /secure/etc/passwd (Trusted 9) /tcb/files/auth/ (10+) |
/etc/shadow | /etc/shadow (may vary) | /etc/master.passwd (/etc/pwd.db) | /etc/master.passwd (/etc/pwd.db) | /etc/shadow | /tcb/files/auth (only with Enhanced Security) | /etc/shadow | encrypted passwords in | |
allow/deny root logins |
/etc/security/user | /etc/default/login | /etc/login.access; /etc/ttys |
/etc/securetty | /etc/default/login | /etc/securetty | /etc/ttys | /etc/ttys | /etc/default/login | /etc/securettys | allow/deny root logins |
||
default syslog | /var/adm/syslog | /var/log/messages | /var/adm/syslog/syslog.log | /var/adm/SYSLOG | /var/log/syslog /var/log/messages |
/var/log/messages | /var/log/messages | /var/log/syslog | /var/adm/syslog | default syslog | |||
system error reporting tool | errpt | admsyslog -o report | dmesg | dmesg sysdiag (9 and early10) stm/cstm/mstm/xstm (10.20+) |
sysmon | dmesg | dmesg cat /kern/msgbuf |
dmesg | prtdiag | dmesg | uerf | uerf | system error reporting tool |
show installed software | lslpp -L | pkginfo | pkg_info | rmfn, what (HP-UX 9) swlist (HP-UX 10+) |
versions -Ib | (rh) rpm -a -i (rh) rpm -qa (deb) dselect (deb) dpkg -l |
pkginfo | pkginfo | pkginfo | setld -i | show installed software | ||
add software |
smitty install_all /usr/lib/instl/sm_inst installp_cmd -a -d 'device' '-c' '-N' '-g' '-X' |
/stand/sysinstall /usr/ports make |
swinstall | inst swmgr |
(rh) rpm -hiv (deb) dselect (deb) apt-get install pkg (deb) dpkg -i |
pkg_add /usr/pkgsrc && make |
pkg_add /usr/ports && make |
pkgadd | setld -l | add software | |||
show patch level | instfix -ivq | swlist -l product | grep someStringOfInterest | versions -b patch | (rh) rpm -q (deb) dpkg -s |
cat /kern/version | showrev -p prodreg (2.6+) |
setld -i | grep patchname | show patch level | |||||
patch tool | installp | dg_sysreport -p patches | cvsup | update (9) swinstall (10+) |
inst | (deb) apt-get update (deb) apt-get upgrade |
cvs | cvs/CTM | installpatch (2.5.1-) patchadd (2.6+) pkgadd |
setld -i dupatch |
patch tool | ||
tracing utility | trace | ktrace | trace (freeware) tusc (11+, freeware) |
par | strace | ktrace | ktrace ptrace |
truss sotruss |
trace | trace | tracing utility | ||
show network interface info | ifconfig -a | ifconfig -A | lanadmin landiag lanscan netstat -in |
ifconfig -a netstat -ia |
/sbin/ifconfig | ifconfig -a | ifconfig -A | ndd ifconfig -a netstat -in |
ifconfig -a netstat -in |
show network interface info | |||
change network address | edit /etc/rc.conf (option ifconfig_interfacename) | /sbin/set_parms initial | edit: /etc/{hosts, sysid, resolv.conf, TIMEZONE}, /etc/config/{static-route.options, ifconfig-1.options}; reboot | edit: /etc/hosts, /etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-eth0 |
edit /etc/ifconfig.interface dhclient |
edit /etc/hostname.driver | edit /etc/resolv.conf; /usr/sbin/sys-unconfig; reboot | change IP | |||||
ping one packet | ping -c 1 hostname | ping -s -c 1 hostname | ping -c 1 hostname | ping hostname 10 1 (9) ping hostname -n 1 (10+) |
ping -c 1 hostname | ping -c 1 hostname | ping -c 1 hostname | ping -c 1 hostname | ping hostname packetsize 1 | ping hostname packetsize 1 | /usr/sbin/ping -c 1 |
ping one packet | |
route definitions | edit /etc/rc.conf (option defaultrouter) | /etc/rc.config.d/netconf | /etc/config/ static-route.options |
(rh) /etc/sysconfig/network (rh) /etc/sysconfig/static-routes (deb) /etc/init.d/network (deb) /etc/network |
/etc/defaultrouter
/etc/notrouter |
/etc/routes | route definitions | ||||||
C compiler | /usr/ibmcxx/bin/cc | /usr/sde/default/usr/bin/cc | /usr/bin/cc (gcc) | /opt/softbench/bin/cc ($) /bin/cc (9) /usr/bin/cc (10+; not ANSI; kernel builder only) |
/opt/MIPSpro/ bin/cc ($) /usr/bin/cc |
gcc | /usr/bin/cc | /usr/bin/cc | /opt/SUNWspro/ bin/cc ($) |
/usr/bin/cc | /usr/bin/cc | C compiler | |
precompiled binaries of GPLware and freeware | aixpdslib.seas.ucla.edu/ aixpdslib.html www-frec.bull.com/ docs/download.htm |
ftp://ftp.freebsd.org/.0/ FreeBSD/ports/i386/ packages-4.0-release |
http://www.linux.org/ linux.tucows.com |
ftp://ftp.netbsd.org/pub/NetBSD/packages/ | http://www.sunfreeware.com/ | www.tru64unix.compaq.com/ demos |
precompiled binaries of GPLware and freeware | ||||||
mailing list | AIX-L@pucc. princeton.edu (LISTSERV) |
www.freebsd.org/ handbook/ eresources.html #ERESOURCES-MAIL |
hpux-admin@ dutchworks.nl (majordomo) |
www.linux.org/ help/lists.html |
www.netbsd.org/ MailingLists |
www.openbsd.org/ mail.html |
sun-managers@sunmanagers .ececs.uc.edu (majordomo) |
sun-managers@sunmanagers .ececs.uc.edu (majordomo) |
alpha-osf-man agers@ornl.gov (majordomo) |
decstation-man agers@ornl.gov (majordomo) |
mailing list | ||
mailing list archives | www.marist. edu/htbin/wlvindex? ADSM-L |
www.freebsd. org/ search.html# mailinglists |
www.dutch works.nl/ htbin/hpsysadmin |
www.netbsd.org/ MailingLists |
www.openbsd.org/ mail.html |
www.latech. edu/sunman.html |
www.latech. edu/sunman.html |
www-archive. ornl.gov:8000/ |
www-archive. ornl. gov:8000/ |
mailing list archives | |||
newsgroup(s) | comp.unix.aix | comp.unix.bsd. freebsd.misc |
comp.sys.hp.hpux | comp.sys.sgi.admin | comp.os.linux.* (esp .answers) | comp.unix.bsd. netbsd.misc |
comp.unix.bsd. openbsd.misc |
comp.sys.sun. admin, comp.unix.solaris |
comp.sys.sun admin |
comp.sys.dec, comp.unix.osf.osf1 | comp.unix.ultrix | newsgroup(s) | |
user groups | http://www.interex.org/ | http://www.deadly.org/ | user groups | ||||||||||
magazines | http://www.daemonnews.com/ | http://www.hpchronicle.com/ | http://www.linuxjournal.com/ | http://www.daemonnews.com/ | www.sunworld.com/ | magazines | |||||||
vendor home page | http://www.rs6000.ibm.com/ | www.dg.com/products/ html/dg_ux.html |
http://www.freebsd.org/ | www.unixsolutions.hp.com/ products/hpux/ |
www.sgi.com/software/ software.html#IRIX |
http://www.linux.org/ http://www.redhat.com/ |
http://www.netbsd.org/ | http://www.openbsd.org/ | http://www.sun.com/solaris/ | http://www.unix.digital.com/ | www.supelec.fr/decus/ faq/faq-ultrix.html |
vendor home page | |
vendor docs and patches | www.freebsd.org/handbook www.freebsd.org/releases/ 4.0R/errata.html |
docs.hp.com itrc.hp.com |
techpubs.sgi.com www.sgi.com/ support/patch_intro.html support.sgi.com |
http://www.linuxdoc.org/ rpmfind.net/linux/RPM |
www.netbsd.org/ Security |
www.openbsd.org/ errata.html |
docs.sun.com sunsolve.sun.com |
vendor docs and patches | |||||
vendor phone (US) | 800-633-3600 | 800-800-4SGI | 800-USA-4SUN | vendor phone | |||||||||
ACTIVITY | AIX | DG-UX | FreeBSD | HP-UX | IRIX | Linux | NetBSD | OpenBSD | Solaris | SunOS | Tru64 (Digital Unix, OSF/1) | Ultrix | ACTIVITY |
See also Heiner Steven's AWK dialects page at http://www.oase-shareware.org/shell//articles/awkcompat.html
Last updated 2000.08.22 by Bruce Hamilton