You are on page 1of 3

AIX

DG-UX
This custom drawing feature requires IE 5 or better for Solaris, HP-UX, or Windows. Use click, shift-click, control-click, and the "set" and "clear"
FreeBSD buttons to select the desired subset of OSs. Then select "Draw table" to launch a new window with your custom table.

A Sysadmin's Unixersal Translator (ROSETTA STONE) OR What do they call that in this world?
Contributions and corrections gratefully accepted. Please help us fill in the blanks. New "tasks" are welcome, too!
Framed version. PDF version (legal size, print with landscape orientation. If your browser plug-in has trouble with the PDF, then download it and load it in stand-alone acroread).
Based on Pat Wilson's version.
OS versions in parentheses; e.g. 10+ means version 10 and greater; 9- means version 9 and previous. $=extra cost
If not specified, commands are in one of the following directories: /usr/bin, /usr/sbin, /sbin, /bin
Categories:
hardware, firmware, devices disks kernel, boot, swap files, volumes
networking security, backup software, patching, tracing, logging references
TASK \ OS AIX Darwin Caldera OpenServer DG/UX FreeBSD HP-UX IRIX Linux NetBSD OpenBSD Solaris SunOS Tru64 Ultrix OS / TASK
The Open Source (rh) = Red Hat, (Digital Unix, OSF/1)
foundation for Mac OS UnixWare 7.1. Mandrake, Suse,...
OS notes (deb) = Debian, Storm, (4)= 4.0F/G OS notes
X, descended from Formerly SCO
Progeny, Corel,... (5)= 5.0A
NeXTStep
smit Aqua: System /usr/sysadm/bin/sysmgr (6.3+) solstice
linuxconf checklist
administrative GUI smitty Preferences, NetInfo scoadmin sysadm /stand/sysinstall sam toolchest admintool administrative GUI
yast2 (Suse) (5) sysman
wsm Manager /usr/Cadmin/bin/* smc (8 01/01+)
lsuser
useradd
mkuser useradd useradd useradd useradd
managing users pw /usr/Cadmin/bin/cpeople userdel
chuser userdel userdel userdel userdel
adduser (interactive)
rmuser
prtconf -v
dmesg (if you're lucky)
hwconfig ioscan /usr/platform/`uname -i`/
/proc/cpuinfo
prtconf hw dmesg (if you're lucky) sbin/prtdiag -v (sun4u and uerf -R -o full
/proc/pci dmesg
list hardware lscfg scoadmin/DCU dmesg adb dmesg sun4d only) dia -R full uerf -R -o full (if list hardware
ioreg -bls dg_sysreport -g hardware hinv /proc/meminfo cat dmesg (if you're lucky)
configuration lsattr cat /var/run/dmesg.boot model cat /kern/msgbuf psrinfo -v (5) hwmgr -show you're lucky) configuration
/usr/lib/X11/testtools/ /proc/interrupts /var/run/dmesg.boot
lsdev stm (from the SupportPlus isainfo -v devices
z35SysInfo /proc/ioports
CDROM) dmesg
lspci
iostat -En
show/set setboot nvram openprom (on show/set
/dev/nvram (if you have it)
EEPROM/NVRAM bootlist -o -m normal nvram pciconf -l bootadmin (at boot PROM) printenv/setenv (at command OpenFirmware eeprom (4.0D+) consvar EEPROM/NVRAM
hwclock
values stm monitor) architectures) values
(3.2.*) scu scan edt
devfsadm. pre-Solaris 7,
modprobe (4.0) scu scan edt; disklabel -rw
add device without (automatic — ioscan -fnCdevtype; scsiha -pr use: add device without
cfgmgr -v mkdev kerneld rzXX label (for disks)
reboot autdodiskmounter) insf -Cdevtype ioconfig -f /hw drvconfig; devlinks; {disks, reboot
insmod (5.x) dsfmgr -k; disklabel -rw
tapes, ports}
dskn auto
/dev/tape
tape device /dev/rmt0 /dev/rct0 /dev/rsa0 /dev/rmt/0 /dev/st0 /dev/st0 /dev/rmt/0 (5.x) /dev/ntape /dev/tape tape device
/dev/nrtape
X kvm config hwconfig xf86config kdmconfig (x86) X kvm config
admpdisk -o list diskinfo fdisk -r OR disklabel
read a disk label lspv -l Disk Utility fsname disklabel -r prtvtoc fdisk -l disklabel -r prtvtoc dkinfo disklabel -r chpt -q read a disk label
admvdisk -o list pvdisplay -rl
(non-root partitions are
whole disk in d (on i386) whole disk in
N/A mounted under /dev/1s# (#=0,1,...) c 10 c 2 c c c
partition c (everything else) partition
/Volumes)
fdisk cfdisk
dvhtool
label a disk mkvg (labels unused) admpdisk disklabel -wr pvcreate fdisk disklabel -wr disklabel -wr format format disklabel -rw chpt -a label a disk
fx -x
sysinstall e2label
parted (if you have it)
fdisk lvcreate fdisk -e OR disklabel format
partition a disk mklv pdisk admpdisk fx fdisk disklabel format disklabel -e chpt -p partition a disk
sysinstall sam -E fmthard
pdisk (on a MAC)
/kernel/genunix
/platform/`uname -m`/
/hpux (9) /boot/vmlinuz
kernel /unix /unix /dgux /kernel /unix /netbsd /bsd kernel/unix /vmunix /vmunix /vmunix kernel
/stand/vmunix (10+) /boot/bootlx
/platform/`uname -m`/
kernel/sparcv9/unix (7+)
/usr/samples/kernel/vmtune
sysdef
(installed with the bos /boot/kernel.conf sam
show/set kernel /proc/* cat /etc/system dxkerneltuner show/set kernel
adt.samples fileset) /etc/conf/cf.d/configure -x sysctl sysdef systune /etc/sysctl.conf
parameters /proc/sys/* ndd sysconfig parameters
/usr/sbin/no /etc/sysctl.conf kmtune (11+)
adb -k
(network-related)
show runlevel who -r (runlevels unused) who -r who -r who -r who -r /sbin/runlevel who -r who -r show runlevel
installboot /usr/platform/
fdisk -A(and lilo to `uname -m` (4.x+) disklabel -rw -t
make disk bootable bosboot -a mkboot dvhtool make disk bootable
manipulate mbr) /lib/fs/ufs/bootblk [ufs|advfs]
raw_device_file
/System/Library/
/etc/rc* (9)
StartupItems/*, /etc/rc* /etc/rc* /etc/rc* (but may vary) /etc/rc*
startup scripts /etc/rc* /etc/rc* /etc/rc* /sbin/rc* (10+) /etc/rc* /sbin/init.d; links in /sbin/rc?.d /etc/rc* startup scripts
/Library/StartupItems/, /usr/local/etc/rc.d/ /etc/init.d/ /etc/init.d/ /etc/rc* /etc/rc* /etc/init.d/
/sbin/init.d/
/etc/rc*
csh global .login /etc/csh.login /etc/cshrc /etc/.login csh global .login
admswap -o list -buv swap -s cat /proc/meminfo swap -s
check swap space lsps -a ls -l /var/vm swap -l swapinfo swapinfo swapctl swapctl pstat -s swapon -s check swap space
dg_sysreport -p freeswap swap -l free swap -l
configure runtime configure runtime
ldconfig crle
linking linking
ext2
"normal" ufs (4) ufs "normal"
jfs htfs dg/ux ufs hfs efs, xfs ext3 ffs (was ufs) ffs (was ufs) ufs 4.2 ufs
filesystem hfs+ (5) AdvFS filesystem
ReiserFS

volume-based ccd Linux Volume Manager Solstice DiskSuite Advfs volume-based


jfs vdisk jfs (vxfs) xlv, xvm, xfs
filesystem vinum (LVM) ccd, raidframe ccd Veritas Volume Manager LSM filesystem

/etc/mnttab /etc/checklist
file system /etc/default/filesys (9) /etc/fstab file system
/etc/filesystems NetInfo /etc/fstab /etc/fstab /etc/fstab /etc/fstab /etc/fstab /etc/fstab /etc/vfstab (local) /etc/fstab /etc/fstab
description /etc/vfstab (local) /etc/fstab AdvFS: /etc/fdmns description
/etc/rmtab (remote) (10+)
smitty vg
/opt/VRTSvxva/bin/vxva AdvFS: mkfdmn, mkfset,
smitty lvm e2fsadm
vg*; lv*; pv* (Veritas) addvol, showfdmn
volume smitty jfs xlv_mgr lvcreate volume
Disk Utility / pdisk sysadm vinum extendfs /usr/opt/SUNWmd/ LSM: volassist or volmake,
manipulation mkvg; chvg; rmvg xvm lvremove manipulation
fsadm sbin/metatool volume, volplex and volsd,
mklv; chlv; rmlv lvextend
(DiskSuite) volprint
mkfs; crfs; rmfs
AdvFS: mkfdmn
newfs
create filesystem crfs mkfs mkfs mke2fs newfs UFS: newfs create filesystem
mkfs
MFS: mfs
truncate -s size[K|M|G]
dd if=/dev/zero filename dd if=/dev/zero dd if=/dev/zero
create non-0-length dd if=/dev/zero of=filename create non-0-length
lmktemp of=filenmae bs=1024 dd if=/dev/zero of=filename prealloc mkfile of=filename of=filename bs=1024k mkfile
empty file bs=1024k count=desired empty file
count=desired bs=size[b|k|m|g] \ bs=1024k count=desired count=desired
count=desired
mount -v cdrfs -o ro /etc/init.d/vold start;
mount /cdrom pfs_mountd
/dev/cd0 /cdrom (automatic — (mounts automatically when CD mount -t cd9660 -r volcheck or
mount CDROM mount /dev/cd0 path mount_cd9660 /dev/acd0? pfsd mount /cdrom mount CDROM
autdodiskmounter) inserted) /dev/cd0a /path mount -F hsfs /dev/sr0
smitty cdrom /cdrom pfs_mount
/cdrom

NFS share /etc/exports NFS share


NetInfo /etc/exports /etc/exports /etc/exports /etc/exports /etc/exports /etc/exports /etc/exports /etc/dfs/dfstab /etc/exports /etc/exports
definitions /etc/xtab definitions

/etc/init.d/nfs-server
NFS share exportfs -a kill -s HUP `cat kill -s HUP `cat kill -HUP `cat share /sbin/init.d/nfs start; NFS share
exportfs -a exportfs -a exportfs -a reload exportfs -a
command /etc/nfs start /var/run/mountd.pid` /var/run/mountd.pid` /var/run/mountd.pid` shareall /sbin/init.d/nfsmount start command
(rh) exportfs -a
name resolution 6+: /etc/nsswitch.conf /etc/nsswitch.conf name resolution
/etc/netsvc.conf NetInfo /etc/host.conf /etc/nsswitch.conf /etc/resolv.conf /etc/nsswitch.conf /etc/svc.conf
order 5.3: /etc/resolv.conf /etc/resolv.conf order
ndd
ifconfig -a lanadmin
ifconfig -a ifconfig -a ifconfig -a
show network netstat -in landiag ifconfig -a show network
no -a ifconfig -a ifconfig -A /sbin/ifconfig ifconfig -a ifconfig -A netstat -in
interface info Network Config. Mgr. lanscan netstat -ia netstat -in interface info
netstat -i (8+) kstat -n hme0 | egrep
(GUI) netstat -in
'ifspeed|duplex'
(rh) edit: /etc/hosts,
edit: /etc/{hosts,
/etc/sysconfig/network,
sys_id,
/etc/sysconfig/ edit: /etc/{resolv.conf, hosts,
resolv.conf,
System Preferences: ifconfig network-scripts/ edit hostname.*, nodename, (4.x) netsetup
change network edit /etc/rc.conf (option TIMEZONE}, edit
smitty chinet Network sysadm /sbin/set_parms initial ifcfg-eth0 /etc/ifconfig.interface dumpadm.conf, net/*/hosts} (5.x) sysman net_wizard or change IP
address netconfig ifconfig_interfacename) /etc/config/ /etc/hostname.driver
NetInfo (deb) edit dhclient netconfig
{static-route.options, sys-unconfig; reboot
/etc/network/interfaces;
ifconfig-1.options};
/etc/init.d/networking
reboot
restart
ping hostname 10 1 (9) ping -c 1
ping one packet ping -c 1 hostname ping -c 1 hostname ping -c 1 hostname ping -s -c 1 hostname ping -c 1 hostname ping -c 1 hostname ping -c 1 hostname ping -c 1 hostname ping -c 1 hostname ping hostname packetsize 1 ping hostname packetsize 1 ping one packet
ping hostname -n 1 (10+)
(rh)
/etc/sysconfig/network
netstat -r edit /etc/rc.conf (option /etc/config/ (rh) netstat -r /etc/defaultrouter
route definitions netstat -r sysadm /etc/rc.config.d/netconf /etc/routes route definitions
smitty route defaultrouter) static-route.options /etc/sysconfig/static-routes route show /etc/notrouter
(deb) /etc/init.d/network
(deb) /etc/network
/etc/issue.net (telnet)
telnetd, ftpd /etc/default/telnetd telnetd, ftpd
/etc/security/login.cfg /etc/inetd.conf (telnet) /etc/issue (ftp varies; can use tcp
banner /etc/default/ftpd banner
wrappers)
/etc/passwd (not Trusted)
/secure/etc/passwd (Trusted
encrypted /etc/master.passwd /etc/master.passwd /tcb/files/auth (only with encrypted
/etc/security/passwd NetInfo /etc/shadow /etc/shadow /etc/master.passwd 9) /etc/shadow /etc/shadow (may vary) /etc/shadow /etc/shadow
passwords in (/etc/pwd.db) (/etc/pwd.db) Enhanced Security) passwords in
/tcb/files/auth/
(10+)
allow/deny root /etc/ttys (doesn't affect /etc/login.access; allow/deny root
/etc/security/user /dev/default/login /etc/default/login /etc/securetty /etc/default/login /etc/securetty /etc/ttys /etc/ttys /etc/default/login /etc/securettys
logins ssh) /etc/ttys logins
(rh) rpm -a -i
swconfig versions pkginfo
show installed rmfn, what (HP-UX 9) (rh) rpm -qa show installed
lslpp -L ls /Applications displaypkg pkginfo pkg_info pkginfo pkg_info prodreg setld -i
software swlist (HP-UX 10+) showfiles (deb) dselect software
pkginfo admintool
(deb) dpkg -l
smitty install_all
smitty installp (rh) rpm -hiv
custom /stand/sysinstall
inst (deb) dselect pkg_add pkg_add
add software /usr/lib/instl/sm_inst installpkg /usr/ports make swinstall pkgadd setld -l add software
swmgr (deb) apt-get install pkg /usr/pkgsrc && make /usr/ports && make
installp_cmd -a SCOadmin (GUI) pkg_add
(deb) dpkg -i
-d 'device' '-c' '-N' '-g' '-X'
precompiled aixpdslib.seas.ucla.edu/ www.tru64unix.compaq.com/ precompiled
ftp://ftp.freebsd.org/.0/ hpux.cs.utah.edu/
binaries of aixpdslib.html freeware.sgi.com www.linux.org/ ftp://ftp.netbsd.org/pub/ demos binaries of
fink.sourceforge.net/ FreeBSD/ports/i386/ www.sunfreeware.com/
GPLware and www-frec.bull.com/ hpux.connect.org.uk/ www.sgi.com/fun linux.tucows.com NetBSD/packages/ tpegsrvr.zk3.dec.com/ GPLware and
packages-4.0-release
freeware docs/download.htm freeware/tbl_packages.html freeware
/opt/softbench/bin/cc ($)
/opt/MIPSpro/
/bin/cc (9) /opt/SUNWspro/
C compiler /usr/ibmcxx/bin/cc /usr/bin/cc (hacked gcc) /usr/bin/cc /usr/sde/default/usr/bin/cc /usr/bin/cc (gcc) bin/cc ($) gcc /usr/bin/cc /usr/bin/cc /usr/bin/cc /usr/bin/cc C compiler
/usr/bin/cc (10+; not ANSI; bin/cc ($)
/usr/bin/cc
kernel builder only)
showrev -p dupatch -track -type kit
show patch level Apple:About This Mac swlist -l product | versions -b | grep patch (6.4-) (rh) rpm -q show patch level
instfix -ivq swconfig -P uname -a cat /kern/version prodreg (2.6+) dupatch -track -type patch
and/or patches ls /Library/Receipts grep someString uname -R (6.5+) (deb) dpkg -s and/or patches
patchadd -p setld -i | grep patchname
installpatch (2.5.1-)
installp System Preferences / (cvsup or cvs to update, update (9) (deb) apt-get update patchadd (2.6+) setld -i
patch tool dg_sysreport -p patches inst cvs cvs/CTM patch tool
smitty update_all Software Update then rebuild) swinstall (10+) (deb) apt-get upgrade pkgadd dupatch
/usr/sadm/bin/smpatch (9+)
ktrace
trace trace (freeware) strace ktrace truss trace
tracing utility ktrace truss par ktrace trace tracing utility
syscalls tusc (11+, freeware) ltrace ptrace sotruss truss
ltrace
(4.x+) /var/adm/messages
/usr/adm/syslog /var/log/syslog /var/adm/syslog.dated (kern,
default syslog /var/adm/syslog /var/log/system.log /var/adm/messages /var/log/messages /var/adm/syslog/syslog.log /var/adm/SYSLOG /var/log/messages /var/log/messages /var/log/syslog default syslog
/var/adm/log/osmlog /var/log/messages auth, daemon, lpr, syslog, user)
/var/adm/binary.errlog
sysmon
(4.x) uerf; dia (DECevent)
dmesg amsyslog
Console (5.x) (System errors) EVM
system error sysdiag (9 and early10) availmon dmesg system error
errpt /var/log/crash.log, dmesg admsyslog -o report dmesg dmesg dmesg prtdiag dmesg (evmget; evmshow) uerf
reporting tool stm/cstm/mstm/xstm eventmond cat /kern/msgbuf reporting tool
dmesg (Hardware errors) dia; ca
(10.20+) imdmonitor
(Compqaq analyze)
syserrpanel
sar; iostat; kstat;
performance iostat; pstat; systat; performance
dkstat; pmkstat vmstat mpstat; netstat; nfsstat;
monitoring vmstat monitoring
prstat; trapstat; vmstat
www.faqs.org/faqs/Solaris2/
www.faqs.org/faqs/ techpubs.sgi.com/library/
www.darwinfo.org/ www-csc.dg.com/csc/ www.freebsd.org/doc/ www.faqs.org/faqs/ www.linuxdoc.org/ www.netbsd.org/ FAQ/ www.faqs.org/faqs/ www2.tru64.org/faq/ www.supelec.fr/decus/
FAQs aix-faq/part1/ pcunix.com/SCOFAQ/ tpl/cgi-bin/browse.cgi?coll=0650 www.openbsd.org/faq/ FAQs
faq.shtml dguxfaqs1.asp en_US.ISO8859-1/books/faq/ hp/hpux-faq/preamble.html FAQ/Linux-FAQ/ Documentation/ www.faqs.org/faqs/Solaris2/ comp-sys-sun-faq/ tru64_faq.php faq/faq-ultrix.html
preamble.html &db=FAQ
x86/FAQ/
www.freebsd.org/ tru64-unix-man
AIX-L@pucc. hpux-admin@ decstation-man
handbook/ www.linux.org/ www.netbsd.org/ www.openbsd.org/ sun-managers@sunmanagers sun-managers@sunmanagers agers@ornl.gov (majordomo)
mailing list princeton.edu lists.apple.com/ dutchworks.nl agers@ornl.gov mailing list
eresources.html help/lists.html MailingLists mail.html .ececs.uc.edu (majordomo) .ececs.uc.edu (majordomo) http://www.ornl.gov/its/archives/
(LISTSERV) (majordomo) (majordomo)
#ERESOURCES-MAIL mailing-lists/
www.marist.
edu/htbin/wlvindex? www.freebsd. www.dutch
mailing list ADSM-L www.netbsd.org/ www.openbsd.org/ www.latech. www.latech. www-archive. www-archive. mailing list
lists.apple.com/ org/ search.html# works.nl/
archives MailingLists mail.html edu/sunman.html edu/sunman.html ornl.gov:8000 ornl. gov:8000 archives
marc.theaimsgroup.com/ mailinglists htbin/hpsysadmin
?l=aix-l&r=1&w=2
comp.unix.aix
newsgroup(s) comp.unix.bsd. comp.os.linux.* (esp comp.unix.bsd. comp.unix.bsd. comp.sys.sun. comp.sys.sun newsgroup(s)
www.thp.uni-duisburg.de/ comp.unix.sco.misc comp.sys.hp.hpux comp.sys.sgi.admin comp.sys.dec, comp.unix.tru64 comp.unix.ultrix
groups.google freebsd.misc .answers) netbsd.misc openbsd.misc admin, comp.unix.solaris admin groups.google
cuaix/cuaix.html
user groups www.userblue.org www.interex.org/ www.deadly.org/ Encompass/DECUS user groups
www.hpchronicle.com/
www.developer. www.sgi.com/support/ www.linuxjournal.com
magazines www.macworld.com/ www.daemonnews.com/ www.interex.org/hpuxusr/ www.daemonnews.com www.sunworld.com/ www.tru64.org/ magazines
ibm.com/library/aixpert/ pipeline.html www.linux-mag.com
www.hppro.com/
www.developer.ibm.com/ www.caldera.com/ www-csc.dg.com/ www.unixsolutions.hp.com/ www.sgi.com/software/ www.linux.org www.tru64unix www.supelec.fr/decus/
vendor home page www.apple.com/ www.freebsd.org/ www.netbsd.org www.openbsd.org/ www.sun.com/solaris/ vendor home page
tech/map/aixrm.html products/openserver csc/default.asp products/hpux software.html#IRIX www.redhat.com .compaq.com/ faq/faq-ultrix.html
www.redbooks.ibm.com techpubs.sgi.com
www-csc.dg.com/csc/ www.sgi.com/
techsupport.services. www.freebsd.org/handbook
vendor docs and www.apple.com/support/ custdocsasp/ docs.hp.com support/patch_intro.html www.linuxdoc.org/ docs.sun.com www.tru64unix vendor docs and
ibm.com/ www.caldera.com/support www.freebsd.org/releases/ www.netbsd.org/ www.openbsd.org/
patches security/security.html custdocs2.asp? itrc.hp.com support.sgi.com rpmfind.net/linux/RPM sunsolve.sun.com .compaq.com/docs/ patches
server/support? 4.0R/errata.html Security docum.html
category=069docs.asp relnotes
view=pSeries grelnotes
AIX: 800-237-5511
vendor phone (US) IBM hardware: 1-800-MY-APPLE 800-633-3600 800-800-4SGI 800-USA-4SUN 800-344-4825 800-344-4825 vendor phone (US)
800-426-7378
Tru64
Caldera OpenServer
(Digital Unix, OSF/1)
TASK / OS AIX Darwin (UnixWare 7.1) DG/UX FreeBSD HP-UX IRIX Linux NetBSD OpenBSD Solaris SunOS Ultrix OS \ TASK
(4) 4.0F/G
formerly SCO
(5) 5.0A

See also Heiner Steven's AWK dialects page at http://www.oase-shareware.org/shell//articles/awkcompat.html


This page is http://bhami.com/rosetta.html last updated 2002.02.11. This compilation Copyright © 2000-2002 Bruce Hamilton bhami@pobox.com. Reproduce freely for personal use. Do not reproduce for commercial purposes. LINK don't copy, or you will miss updates!

You might also like