| 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 wide version. PDF split version. (PDF versions not updated as of 8 July 2000.) Based on Pat Wilson's version; PDF courtesy of Sebastien Routier. OS versions in parentheses; e.g. under HP-UX, 10+ means HP-UX 10.00 and greater. $=extra cost |
||||||||||||
| ACTIVITY | AIX | DG-UX | FreeBSD | HP-UX | IRIX | Linux | 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 | 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+) | linuxconf | solstice
admintool |
administrative GUI | ||||
| read a disk label | lspv -l | admpdisk -o list
admvdisk -o list |
disklabel -r | diskinfo
pvdisplay |
prtvtoc | fdisk -l | fdisk -r OR disklabel -rl | prtvtoc | dkinfo | disklabel -r | chpt -q | read a disk label |
| whole disk in partition | N/A | 10 | c | 2 | c | c | c | whole disk in partition | ||||
| label a disk | mkvg | admpdisk | fdisk
disklabel -wr sysinstall |
pvcreate | dvhtool | disklabel -wr | format | format | disklabel -wr | chpt -a | label a disk | |
| partition a disk | crfs | admpdisk | fdisk
sysinstall |
sam | fx -x | fdisk | 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 | swap -s
swap -l |
pstat -s | swapon -s | check swap space | |
| kernel | /unix | /dgux | /kernel | /hpux (9)
/stand/vmunix (10+) |
/unix | /boot/vmlinuz | /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 | /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* | /sbin/rc* | /etc/rc* | startup scripts |
| "normal" filesystem | jfs | dg/ux | ufs | hfs | efs, xfs | ext2 | ffs (was ufs) | ufs | 4.2 | ufs | ufs | "normal" filesystem |
| volume based filesystem | jfs | ccd | jfs (vxfs) | xlv, xvm |
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/vfstab | /etc/fstab | /etc/fstab | /etc/fstab | file system
description |
| volume manipulation | /usr/sbin/vg* lv* pv*
extendfs |
xlv_mgr
xvm |
/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 empty file | prealloc | mkfile | mkfile | |||||||||
| NFS share definitions | /etc/exports | /etc/exports | /etc/exports | /etc/exports | /etc/exports | /etc/dfs/dfstab | /etc/exports | /etc/exports | NFS share definitions | |||
| NFS share command | exportfs -a | exportfs | exportfs -a | 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/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/default/login | /etc/securettys | allow/deny root
logins |
||
| default syslog | /var/log/messages | /var/adm/syslog/syslog.log | /var/adm/SYSLOG | /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 | 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 | rpm -a -i
rpm -qa |
pkginfo | pkginfo | setld -i | show installed software | ||
| add software | /stand/sysinstall
/usr/ports make |
swinstall | inst
swmgr |
rpm -hiv | pkg_add
/usr/ports && make |
pkgadd | setld -l | add software | ||||
| show patch level | instfix -ivq | swlist -l product | grep someStringOfInterest | versions -b patch | rpm -q | 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 | cvs/CTM | installpatch
patchadd (7) pkgadd |
setld -i
dupatch |
patch tool | |||
| tracing utility | trace | ktrace | trace (freeware)
tusc (11+, freeware) |
par | strace | ktrace
ptrace |
truss
sotruss |
trace | tracing utility | |||
| show network interface info | ifconfig -A | lanadmin
landiag lanscan netstat -in |
ifconfig -a
netstat -ia |
/sbin/ifconfig | 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/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 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 |
/etc/sysconfig/network
/etc/sysconfig/static-routes (Red Hat) |
/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 | /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 |
hpux.cs.utah.edu | freeware.sgi.com
www.sgi.com/fun |
www.linux.org
linux.tucows.com |
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.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.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.
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 | www.interex.org | www.deadly.org | user groups | |||||||||
| magazines | www.daemonnews.com | www.hpchronicle.com | www.linuxjournal.com | www.sunworld.com/ | magazines | |||||||
| vendor home page | www.rs6000.ibm.com | www.dg.com/products/
html/dg_ux.html |
www.freebsd.org | www.unixsolutions.hp.com/
products/hpux/ |
www.sgi.com/software/
software.html#IRIX |
www.linux.org | www.openbsd.org | www.sun.com/solaris | 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 |
www.linuxdoc.org
rpmfind.net/linux/RPM |
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 | OpenBSD | Solaris | SunOS | Tru64 (Digital Unix, OSF/1) | Ultrix | ACTIVITY |
See also Heiner Steven's AWK dialects page
Last updated 1999.09.12 by Pat Wilson; 2000.07.13 by Bruce Hamilton