Professional Documents
Culture Documents
Rosetta Stone For Unix
Rosetta Stone For Unix
set all OS
AIX
DG-UX clear all OS
FreeBSD This custom drawing feature now works in Mozilla/Firefox, in Opera 7.0 or better, and in IE 5 or better. Use click, shift-click, control-click, and the "set" and "clear" buttons to select the desired subset of OSs. Then select "Draw table" to redraw the window with your custom table.
Draw 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!
PDF version (for best results print US legal size, landscape orientation. If your browser plug-in has trouble with the PDF, then download it and load it in stand-alone acroread).
Framed version.
OS versions in parentheses; e.g. 10+ means version 10 and greater; 9- means version 9 and previous. $=extra cost. (obs) = obsolete
If not specified, commands are in one of the following directories: /usr/bin, /usr/sbin, /bin, /sbin
Files referenced may be either commands, configuration files, or directly-referenced text files. Use the man command to read the man pages for details such as command options.
Categories:
hardware, firmware, devices disks kernel, boot, swap files, volumes
networking security, backup software, patching, tracing, logging references
TASK \ OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux Mac OS X NCR Unix NetBSD OpenBSD Reliant SCO OpenServer Solaris SunOS 4 Tru64 Ultrix UNICOS OS / TASK
(rh) = Red Hat, Fujitsu Siemens.
Mandrake, SUSE,... Cray Inc., formed
Derived from 4.4BSD- Forked from NetBSD in Originally called SINIX. Solaris 2.0-2.6, 7, 8, 9, 10
By IBM, with input from Apple 1988-1995. Based Derived from 4.4BSD-Lite and (deb) = Debian, Libranet,... SCO UnixWare 7.0.1& SCO from the March
Darwin is the Open Source Lite and 386BSD. This 1995. Security emphasis. Based on DC/OSX from OpenSolaris (Digital Unix, OSF/1) An early DEC Unix,
System V, BSD, etc. Runs on AT&T SysV.2.2 with Data General was aquired 386BSD. This table does not (fed) = Fedora UnixWare 7.1.1 became Caldera Solaris 1.* 2000 merger of
OS notes Hewlett-Packard. SGI. SVR4-based (gen) = Gentoo foundation for Mac OS X, aka MP-RAS table does not include This table does not Pyramid, SINIX (SunOS 5.*) (4)= 4.0F/G superceded by Digital OS notes
mainly on IBM RS/6000 and extensions from V.3, V.4, by EMC in 1999. include external packages from Open Unix and later became BSD-based Tera Computer
(md) = Mandrake/Mandriva descended from NeXTStep external packages from include external packages from Siemens, and SVR4. SVR4-based (5)= 5.0A Unix (now Tru64).
related hardware. and BSD 4.2 and 4.3 /usr/ports. SCO again. SVR4-based. Company and Cray
(SUSE) = SUSE /usr/pkg. from /usr/ports. To be replaced with
Research
Solaris by 2008.
(rh, FC2+, RHEL4+) system-
/stand/sysinstall config*
/usr/sysadm/bin/sysmgr solstice
smit pw (rh) redhat-config* sysadm checklist
(6.3+) Aqua: System Preferences, admintool checklist
administrative GUI smitty Finder sysadm adduser rmuser sam linuxconf (obsolete) sysadm sushi (obs) ? WebSysAdmin scoadmin ? ? /etc/install/install administrative GUI
toolchest NetInfo Manager smc (8 01/01+) (5) sysman
wsm vipw (SUSE) yast2 xmenu
/usr/Cadmin/bin/*
chpass (deb) dpkg-reconfigure
(md) drakconf
useradd (5+) /usr/sysadm/privbin/
userdell (5+) addUserAccount useradd useradd useradd useradd
useradd
usermod (5+) adduser usermod useradd userdel userdel adduser xadmin
Finder useradd Aqua: System userdel sysadm scoadmin
lsuser useradd rmuser userdel userdel userinfo usermod edit /etc/passwd and userdel adduser udbgen
managing users /etc/adduser userdel passmgmt Preferences / Accounts adduser (interactive) useradd useradd managing users
mkuser userdel pw adduser usermod usermod logins create home directory removeuser removeuser udbrstrict
edit /etc/passwd usermod niutil usermod userdel userdel
chuser vipw chage sysadm user /usr/sadm/bin/smuser (9+) dxaccounts nu scripts
/usr/Cadmin/bin/cpeople user
rmuser vipw groupadd
usrck
TASK \ OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux Mac OS X NCR Unix NetBSD OpenBSD Reliant SCO OpenServer Solaris SunOS 4 Tru64 Ultrix UNICOS OS / TASK
dmesg (if you're lucky)
prtconf -v
cat /var/log/dmesg
ioscan /usr/platform/`uname -i`/ dia -R full
/proc/*
dmesg (if you're lucky) sbin/prtdiag -v (sun4u and sun4d only) vmstat -P
lshw hwconfig
adb autoconf -l arch -k hwmgr -get category
sysctl -a dmidecode sysctl hw hw
prtconf model prtconf dmesg showconf psrinfo -v (5) hwmgr -show machid
dmesg hinv lspci hostinfo dmesg scoadmin/DCU
lscfg stm (from the SupportPlus CDROM) devstat more uname -p isainfo -v devices dmesg (if you're getconf
list hardware configuration ? dg_sysreport -g hardware cat /var/run/dmesg.boot lspnp ioreg -bls cat /var/run/dmesg.boot dmesg (if you're lucky) list hardware configuration
lsattr bdf (like most vendors' df) machinetype /var/run/dmesg.boot uname -M dmesg psrinfo lucky) uname -a
pciconf -l sysinfo -vv lsscsi system_profiler pcidump /usr/lib/X11/testtools/
lsdev getconf more /etc/.osm cat /kern/msgbuf mpcntl -I iostat -En pset_info
eeprom (SPARC only) lsusb acpidump z35SysInfo
machinfo (11.23+) prtfru sys_check
lsmod
print_manifest cfgadm -l /usr/bin/X11/dxsysinfo
(SUSE) hwinfo
/etc/path_to_inst
/sys/devices/*
system_profiler
uname -u SPHardwareDataType |
unique id useful for licensing uname -m ? ? ? uname -i ? ? grep "Serial Number:" | ? ? ? ? ? hostid hostid ? ? ? unique id useful for licensing
lsattr -El sys0 -a systemid awk '{print $3}'
TASK \ OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux Mac OS X NCR Unix NetBSD OpenBSD Reliant SCO OpenServer Solaris SunOS 4 Tru64 Ultrix UNICOS OS / TASK
disklabel -r
admpdisk -o list diskinfo pdisk rawDev -dump disk
read a disk label lspv -l ? disklabel -r prtvtoc fdisk -l prtvtoc disklabel diskName dkpart -l fsname prtvtoc dkinfo disklabel -r chpt -q ? read a disk label
admvdisk -o list pvdisplay Disk Utility mbrlabel
fdisk
/dev/hda (e.g. if /dev/hda1 (non-root partitions are c or d /dev/ios0/rsdisk???s7
whole disk in partition N/A ? ? c ? 10 s0 c /dev/1s# (#=0,1,...) 2 c c c s7 whole disk in partition
is a partition) mounted under /Volumes) sysctl kern.rawpartition (???=000-999)
sysadm
fdisk
edvtoc
fdisk dvhtool cfdisk format
prtvtoc disklabel -wr
label a disk mkvg ? admpdisk disklabel -wr pvcreate fx -x fdisk (labels unused) disklabel -E diskName dksetup divvy prtvtoc format disklabel -rw chpt -a /etc/labelit label a disk
mkpart mbrlabel
sysinstall e2label (x86) fdisk
updatescsi
labelit
sysdef
/boot/kernel.conf sam adb
/proc/* sysdef idtune getconf
vmo vi /var/Build/ /boot/loader.conf sysdef /usr/sbin/sysctl /etc/conf/cf.d/configure -x
/etc/kconfig /proc/sys/* getconf sysctl sysctl cat /etc/opt/cf.d/stune cat /etc/system dxkerneltuner adb
show/set kernel parameters ioo system.hostname;; sysctl kmtune (11+) systune launchctl limit /usr/kvm/sys/ ? show/set kernel parameters
Finder sysctl /etc/conf/cf.d/ /etc/sysctl.conf /etc/sysctl.conf cat /etc/opt/cf.d/mtune ndd sysconfig kdb
schedo reboot /etc/sysctl.conf kctune (11.23+) /etc/launchd.conf sysdef `arch -k`/conf
/etc/sysctl.conf quicktune.cfg sysdef -i adb -k
getconf
zpool (10+)
meta*
smitty vg vinum
(Solstice DiskSuite;
smitty lvm ccdconfig AdvFS: mkfdmn, mkfset,
e2fsadm Solaris Volume Mgr (9+))
smitty jfs geom (5.3+) vg*; lv*; pv* xlv_mgr vxva ccdconfig dkconfig addvol, showfdmn
lvcreate Disk Utility / pdisk / ccdconfig (7-, found in
volume manipulation mkvg; chvg; rmvg ? sysadm gstripe (5.3+) extendfs xvm raidctl dkmirror ? ? LSM: volassist or volmake, ? /etc/install/install volume manipulation
lvremove diskutil raidctl /usr/opt/SUNWmd/
mklv; chlv; rmlv gmirror (5.3+) fsadm dkconfig bioctl dkmap volume, volplex and volsd,
lvextend sbin/)
mkfs; crfs; rmfs graid3 (5.3+) volprint
/opt/VRTSvxva/bin/vxva
(Veritas Volume Mgr) ($)
mke2fs
newfs AdvFS: mkfdmn bb
/etc/newfs mkfs mkreiserfs newfs mkfs divvy (OpenServer 5) newfs newfs newfs
create filesystem crfs admfilesystem newfs mkfs newfs_hfs mkfs newfs UFS: newfs mkfs create filesystem
/etc/mkfs newfs mkdosfs makefs newfs mkfs mkfs mkfs mkfs
newfs_mdos MFS: mfs labelit
mkfs.*
fsck fsck
dfsck fsck fsck fsck fsck fsck
file system debugging and fsck fsck fsdb fsdb fsck file system debugging and
fsck fsck fsdb debugfs fsdb ? fsdb ? fsdb ? ? ? ?
recovery fsdb fsdb clri clri fsdb recovery
fsdb clri e2undel clri clri clri
xfs_repair scan_ffs
dd if=/dev/zero
of=filename bs=1024
truncate -s size[K|M|G] filename count=desired
mkfile dd if=/dev/zero dd if=/dev/zero mkfile
dd if=/dev/zero of=filename dd if=/dev/zero of=filename dd if=/dev/zero of=filenmae dd if=/dev/zero of=filename
create non-0-length empty file lmktemp ? ? prealloc mkfile dd if=/dev/zero of=filename of=filename bs=1024 of=filename bs=1m dd if=/dev/zero mkfile mkfile ? ? create non-0-length empty file
bs=size[b|k|m|g] \ bs=1024k count=desired dd if=/dev/zero bs=1024 count=desired bs=1024k count=desired
bs=1024 count=desired count=desired count=desired of=filename bs=1k
count=desired of=filename bs=1
count=1 seek=desired-1
(sparse file)
pfs_mountd
pfsd
pfs_mount
mount -v cdrfs -o ro (see man mediad) mount /dev/disk/cdromXa
mount /dev/dsk/cxtydz4
/dev/cd0 /cdrom (automatic — automounter) mount -F cdfs /etc/init.d/vold start; volcheck or /mnt
mount -t cdrom mount /cdrom /SD_CDROM mount /mnt/cdrom mount -t cd9660 -o ro mount -F hs ... mount -t hsfs -r
mount CDROM Finder (mounts automatically /dev/cdrom/cdromX mount /dev/cd0a path mount /dev/cd0 path mount -F hsfs -o ro /dev/dsk/c0t6d0s2 mount -t cdfs -o noversion ? ? mount CDROM
/dev/pdsk/disk/cdrom mount_cd9660 (deb) mount /cdrom /dev/cd0a path sysadm /dev/sr0 /cdrom
smitty cdrom when CD inserted) diskutil mount /dev/disk1s0 /cdrom /cdrom /dev/disk/cdrom3c /cdrom
mount -orr /dev/cdrom /mnt/cdrom
(requires "Rock Ridge extension"
patches, 11+)
/etc/nsswitch.conf /etc/nsswitch.conf
/etc/host.conf (4-) 6+: /etc/nsswitch.conf /etc/nsswitch.conf tcpconfig /etc/nsswitch.conf (hardcoded
name resolution order /etc/netsvc.conf ? /etc/netsvc.conf /etc/nsswitch.conf NetInfo /etc/resolv.conf /etc/resolv.conf /etc/netconfig /etc/resolv.conf /etc/svc.conf (obsolete) ? /etc/hosts.usenamed name resolution order
/etc/nsswitch.conf (5+) 5.3: /etc/resolv.conf /etc/resolv.conf /etc/netconfig getent into libc)
(obsolete)
dladm
ifconfig -a lanadmin ndd ifconfig -a
ifconfig -a ifconfig -a
no -a landiag ifconfig -a ifconfig -a netstat -in
netstat -i netstat -i /usr/etc/ifconfig -a ifconfig ifconfig -a ifconfig -a inetstat -in netstat -in ifconfig -a
show network interface info netstat -i ifconfig -a lanscan ildconfig ifconfig -A netstat -in ifconfig -a hwmgr get attribute ifconfig show network interface info
/etc/ifconfig -a ifconfig netstat -ia ethtool netstat -a netstat -in etherstat Network Config. Mgr. (GUI) netstat -in
netstat -v netstat -in netstat -in dladm -category network
cmxinfo
lsattr -E -l entX ifconfig lanx (8+) kstat -n hme0 | egrep
'ifspeed|duplex'
ifconfig
(rh) redhat-config-network
(fedora) system-config-
edit: /etc/{hosts, network
edit: /etc/{resolv.conf, hosts, hostname.*,
smitty chinet sys_id, (rh) edit: /etc/hosts, netconfig
edit /etc/rc.conf netmasks, nodename,
edit /etc/rc.conf (option resolv.conf, /etc/sysconfig/network, ifconfig ifconfig
System Preferences: (ifconfig*) ifconfig sysadm dumpadm.conf, inet/ipnodes, net/*/hosts} (4.x) netsetup
chdev -a netaddr= ifconfig ifconfig_interfacename) /sbin/set_parms initial TIMEZONE}, /etc/sysconfig/ ifconfig edit /etc/hosts initif
change IP sysadm Network ifconfig (temp.) (5.x) sysman net_wizard or ? change IP
newIP -I en# edit /etc/NETADDRS ifconfig /etc/config/ network-scripts/ tcpconfig netconfig /etc/hostname.*
ifconfig NetInfo edit edit /etc/hostname.driver vi /etc/default/inet sys-unconfig; reboot (this is overkill for a netconfig
{static-route.options, ifcfg-eth0 /etc/install/install
/etc/ifconfig.interface simple IP or hostname change)
mktcpip ifconfig-1.options}; (deb) edit
reboot /etc/network/interfaces;
/etc/init.d/networking
restart
/etc/motd
/etc/issue.net (telnet) /etc/issue
/etc/ftpwelcome /etc/issue.net /etc/default/telnetd /etc/issue
telnetd, ftpd banner /etc/security/login.cfg /etc/issue ? /etc/ftpwelcome /etc/inetd.conf (telnet) /etc/issue (ftp varies; can use tcp /etc/ftpwelcome ~ftp/etc/issue /etc/issue ? n/a /etc/issue ? telnetd, ftpd banner
/etc/issue if enabled via /etc/ftpwelcome /etc/default/ftpd /etc/motd
wrappers) ~ftp/etc/msgs/welcome
if= in /etc/gettytab
date date date
ntpdate
set date/time adjkerntz System Preferences/ ntpdate rdate ntpdate set date/time
ntpdate date ? ntpdate timeslave rdate ? ? ? ? ntpdate rdate ?
(from net: ntp or other) ntp Date & Time ntpd ntpd rdate (from net: ntp or other)
netdate
(obs) timed timed (obs) timed
TASK \ OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux Mac OS X NCR Unix NetBSD OpenBSD Reliant SCO OpenServer Solaris SunOS 4 Tru64 Ultrix UNICOS OS / TASK
audit audisp satd mtree audit
(2.6+) auditd
auditpr audevent satconfig auditd
auditing ? ? auditd /var/log/faillog ? ? ? ? ? auditing
auditselect audomon sat_reduce /etc/security auditreduce
lsaudrec audsys sat_interpret (run nightly) praudit
/etc/passwd (not Trusted)
/.secure/etc/passwd (Trusted 9)
/etc/master.passwd /etc/master.passwd /tcb/files/auth (only with
encrypted passwords in /etc/security/passwd /etc/shadow /etc/shadow /etc/master.passwd /tcb/files/auth/ /etc/shadow /etc/shadow (may vary) NetInfo /etc/shadow /etc/shadow /etc/shadow /etc/shadow /etc/passwd /etc/shadow /etc/udb encrypted passwords in
(/etc/spwd.db) (/etc/pwd.db) Enhanced Security)
(10+)
/etc/shadow (11.22+)
min password length /etc/pam.d/system-auth /etc/login.conf /etc/default/passwd min password length
allow/deny root /etc/login.access; allow/deny root
/etc/security/user ? /etc/default/login /etc/securetty /etc/default/login /etc/securetty /etc/ttys (doesn't affect ssh) /etc/default/login /etc/ttys /etc/ttys /etc/default/login /dev/default/login /etc/default/login /dev/ttytab /etc/securettys /etc/securettys udbrestrict -R
logins /etc/ttys logins
ipf
iptables /etc/ipf.conf
ipfw /etc/ipf6.conf
genfilt ipchains Aqua / System Prefs /
ipf pfctl
firewall config smitty ipsec4 ? ? /etc/opt/ipf/ipf.conf /etc/ipf.conf ipfwadm Sharing / Firewall ? ? ? (9+) /usr/aset/ ? ? ? ? firewall config
pf /etc/pf.conf
wsm network (rh) redhat-config- ipfw pfctl (3.0+)
pfctl
securitylevel /etc/pf.conf (3.0+)
TASK \ OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux Mac OS X NCR Unix NetBSD OpenBSD Reliant SCO OpenServer Solaris SunOS 4 Tru64 Ultrix UNICOS OS / TASK
(rh) rpm -a -i ls /Applications
(rh) rpm -qa Apple System Profiler
pkg_info versions (rh) yum list installed system_profiler swconfig (OpenServer 5) pkginfo
lslpp -L ls /var/db/pkg rmfn, what (HP-UX 9) showfiles (deb) dselect ls /Network/Applications displaypkg pkginfo -l displaypkg prodreg
show installed software ? pkginfo pkg_info pkg_info ? setld -i ? ? show installed software
lssrc swlist (HP-UX 10+) showprods (deb) aptitude /Network/Users/*/ pkginfo sysadm pkginfo admintool
(deb) dpkg -l Applications /var/sadm/install/contents
(gen) ls /var/db/pkg/* /Users/*/Applications
(gen) eix -I
(deb) dpkg --search file
(deb) apt-file update && apt-
lslpp -w file versions long | file search file pkg_chk
file is in which package ? ? pkg_add -W file swlist -l file | grep file ? ? pkg_info -E file ? ? pkgchk -l -p binaryToCheck ? ? ? ? file is in which package
rpm -qif file grep file (rh) rpm -qif file pkg_info -Fe file
(gen) equery b file
(gen) qfile file
smitty install (rh) rpm -hiv
/stand/sysinstall installpkg custom
rpm -ihv (rh) yum install pkg
/usr/ports make inst drag-and-drop pkgadd pkg_add pkg_add pkgadd installpkg
add software installp -acgxYd /sourcedir n/a (no package system) sysadm swinstall (deb) dselect pkgadd ? setld -l ? ? add software
pkg_add swmgr /Applications/ Utilities/ pkgplus /usr/pkgsrc && make /usr/ports && make sysadm SCOadmin (GUI)
[fileset|ALL] (deb) apt-get install pkg
portinstall (from /usr/ports) Installer
(deb) dpkg -i
www.linux.org
linux.tucows.com fink.sourceforge.net
www-1.ibm.com/servers/
sourceforge.net ftp://ftp.netbsd.org/pub/
aix/products/aixos/linux/ hpux.cs.utah.edu freeware.sgi.com www.tru64unix.compaq.com/
http://www.signal42.com/ ftp.freebsd.org/ rpmfind.net darwinports.opendarwin NetBSD/packages ftp://ftp.openbsd.org/
precompiled binaries of download.html www.sgi.com/fun www.caldera.com/ www.sunfreeware.com demos precompiled binaries of
see FAQ xfree86/4.2.0/binaries/ pub/FreeBSD (deb) ftp.debian.org .org ? pub/OpenBSD/<version>/ ? ? ? ?
GPLware and freeware aixpdslib.seas.ucla.edu/ hpux.connect.org.uk nekochan.net skunkware www.blastwave.org tpegsrvr.zk3.dec.com/ GPLware and freeware
DGUX-ix86/ www.freebsd.org (deb) packages.debian.org ftp://ftp.NetBSD.org/ packages
aixpdslib.html freeware/tbl_packages.html
(gen)packages.gentoo.org3 darwinports.com pub/pkgsrc
bullfreeware.com
(gen)gentoo-portage.com3
(md)easyurpmi.zarb.org
/opt/softbench/bin/cc ($)
/opt/MIPSpro/
/usr/ibmcxx/bin/cc cc /usr/sde/default/usr/bin/cc /bin/cc (9) cc /usr/bin/cc /opt/SUNWspro/
C compiler /usr/bin/cc (gcc) bin/cc ($) /usr/bin/cc (gcc) /usr/bin/cc (gcc) /usr/bin/cc /usr/bin/cc /usr/bin/cc /usr/bin/cc /usr/bin/cc /usr/bin/cc /opt/ctl/bin/cc C compiler
/usr/vac/bin/cc ($) /usr/local/gnu/gcc gcc /usr/bin/cc (10+; not necessarily gcc (Metaware) bin/cc2
/usr/bin/cc
ANSI; kernel builder only)
sw_vers
Apple:About This Mac
(rh) rpm -q ls /Library/Receipts showrev -p dupatch -track -type kit
versions -b | grep patch cat /kern/version
show patch level instfix -ivq swlist -l product | (rh) cat /proc/version uname -a uname -a prodreg (2.6+) showrev -p dupatch -track -type patch show patch level
? what /dgux uname -a uname -R (6.5+) pkginfo -l uname -a sysctl -n kern.version swconfig -P ? ?
and/or patches oslevel -s grep PHsomeString (rh) cat /etc/redhat-release lsbom pkginfo | grep EKS patchadd -p (if you're lucky) setld -i | grep patchname and/or patches
/etc/release
(deb) dpkg -s cat /System/Library/ cat /etc/release sizer -vB
CoreServices/
SystemVersion.plist
cvs
apt-get update
(6.2+) csup cvsup installpatch (2.5.1-)
apt-get upgrade System Preferences /
installp update (9) inst pkgadd cvs sup pkgadd patchadd (2.6+) setld -i
patch tool ? dg_sysreport -p patches (rh) up2date Software Update pkgadd; pkgrm n/a ? ? patch tool
smitty update_all cvsup or cvs to update, swinstall (10+) swmgr pkgplus patch cvsync sysadm pkgadd; pkgrm dupatch
(rh) yum update softwareupdate
then rebuild patch /usr/sadm/bin/smpatch (9+)
(md) urpmi
pkg_add
configure/show crle configure/show
runtime linking ldd chatr ldd ldconfig ldd ldd runtime linking
fortran-2000.com/ dump -H ldd ldd odump -Dl fortran-2000.com/
? ? ldconfig ldd (11+) rld ldd otool -L nm ldd ? pldd ldd ? ?
ldd ldconfig ldconfig ldd
ArnaudRecipes/ kldstat kmadmin _RLD_LIST lsmod ldconfig modinfo ArnaudRecipes/
sharedlib.html LD_PRELOAD sharedlib.html
$LD_LIBRARY_PATH
$DYLD_LIBRARY_PATH
(64-bit) $LD_LIBRARY_PATH $LD_LIBRARY_PATH $LD_LIBRARY_PATH $LD_LIBRARY_PATH
link library path $LIBPATH ? $LIBPATH $LD_LIBRARY_PATH man dyld $LD_LIBRARY_PATH $LD_LIBRARY_PATH $LD_LIBRARY_PATH ? $LD_LIBRARY_PATH $LD_LIBRARY_PATH ? $LDPATH link library path
$SHLIB_PATH $RLD*_PATH /etc/ld.so.conf /etc/ld.so.conf (7+ deprecated in favor of crle)
(32- or 64-bit)
trace truss
par strace ktrace; kdump (<=10.4) ktrace ktrace
syscalls ?=dg_strace ktrace trace (freeware) truss sotruss trace cdbx
tracing utility ? prfstat ltrace dtruss; dtrace (>=10.5) truss ktruss kdump truss trace ? tracing utility
truss (>=4.20MU06) truss tusc (11+, freeware) scstat dtrace (10+) truss jumptrace
SystemTap (freeware) fs_usage kdump systrace
watch
/etc/default /etc/default/login /etc/profile /etc/profile
/etc/security/ /etc/default/login /etc/profile /etc/default/login /etc/default/login
/etc/profile /etc/PATH /etc/profile /etc/security/ /etc/skel/* /etc/skel /etc/skel udbgen
define user defaults mkuser.default admuser -o set /etc/login.conf /usr/bin/defaults /etc/profile /etc/skel/* /etc/profile ? /etc/profile /etc/profile define user defaults
/usr/lib/skel /etc/MANPATH /etc/skel/ /etc/login.conf /etc/profile /etc/profile nu scripts
/etc/environment /etc/security/ login.conf $HOME/.profile /etc/security/
/etc/default/* /etc/profile.d/*
csh global .login /etc/csh.login ? ? /etc/csh.login /etc/csh.login /etc/cshrc /etc/csh.login /etc/csh.login /etc/.login /etc/csh.login /etc/csh.login ? ? /etc/.login ? /etc/csh.login ? /etc/login csh global .login
/var/adm/messages /var/adm/messages
/var/log/syslog /var/adm/messages (4.x+) /var/adm/messages
/var/adm/syslog/syslog.log /var/adm/streams /var/log/syslog /var/adm/syslog.dated
/var/adm/syslog /var/adm/SYSLOG /var/log/messages /usr/adm/syslog /var/adm/syslog.dated (kern,
default syslog and messages ? /var/adm/messages /var/log/messages /var/adm/sulog /var/log/system.log /var/adm/usererr /var/log/messages /var/log/messages /var/adm/log/messages softpanorama.org/Logs/solaris_logs.shtml /var/log/syslog (kern, auth, daemon, /usr/adm/messages default syslog and messages
/var/adm/messages /var/adm/sulog /usr/adm/messages /var/adm/log/osmlog auth, daemon, lpr, syslog, user)
/var/spool/mqueue/syslog /etc/.osm (sendmail) lpr, syslog, user)
/var/log/maillog /var/adm/binary.errlog
/var/adm/binary.errlog
sysmon
(4.x) uerf; dia (DECevent)
dmesg amsyslog
dmesg dmesg sysadm (5.x) (System errors) EVM
dmesg sysdiag (9 and early10) availmon Console odm dmesg
system error reporting tool errpt errpt admsyslog -o report cat /kern/msgbuf log3 dmesg prtdiag dmesg (evmget; evmshow) uerf errpt system error reporting tool
send-pr stm/cstm/mstm/xstm (10.20+) eventmond /var/log/crash.log, dmesg errpt sendbug
(deb) reportbug send-pr WebSysAdmin (Hardware errors) dia; ca
EMS (from support CD) imdmonitor
(Compqaq analyze)
syserrpanel
sar; xsar; tsar;
ftp://ftp.software.ibm.com/ xsam;
pcp; dkstat; pmkstat; vm_stat; nfsstat; sar; pinfo -v; xscc; xns; xnetmon;
aix/tools/perftools/perfpmr vmstat fstat; iostat; sar; iostat; kstat;
sar top; sar; vmstat; sar; osview; gr_osview; fs_usage; sc_usage; modstat; netstat; iostat; netstat; systat; iostat; nfsstat; vmstat nfsstat; perfmon;
fstat; nfsstat; systat; vmstat; procinfo -D netstat; nfsstat; pstat; vmstat; mpstat; dkstat; mpstat; netstat; nfsstat; iostat; nfsstat; vmstat
performance monitoring ? netstat iostat; nfsstat; netstat; ecstats; linkstat; netstat; top nfsstat; pppstat; vmstat; top; fstat; sar iostat; netstat; vmstat /usr/opt/sv4b/bin/sar ja; performance monitoring
vmstat; iostat; sar; filemon; netstat; uustat; top; iostat top systat; top; sar; netstat; scstat prstat; trapstat; vmstat; ptree /usr/opt/sv4b/bin/sar
uustat uustat; Glance($) nfsstat; nfsvis; nodevis; Activity Monitor (10.3+) smtpstat; snmpstat; nfsstat monitor mppview;
topas; trace; svmon; netpmon htop vmstat;
routervis; nstats; top Process Viewer (10.2-) uustat; top xmppview;
sam; csam
fuser
lsof lsof lsof fstat
match process to file or port procfiles (5.2+, files only) ? fuser fuser lsof fuser fstat fuser ? lsof2 ? ? ? ? match process to file or port
sockstat fuser netstat -atup sockstat
pfiles
www.marist.
www.sunmanagers.org/
edu/htbin/wlvindex?
archives.html
ADSM-L www.dutch www.linuxmanagers.org/
www.netbsd.org/ www.openbsd.org/ www.latech. www-archive. www-archive.
mailing list archives n/a ? lists.freebsd.org/mailman/listinfo works.nl/ ? pipermail/linuxmanagers lists.apple.com ? ? ? ? mailing list archives
MailingLists mail.html www.latech. edu/sunman.html ornl.gov:8000 ornl. gov:8000
marc.theaimsgroup.com/ htbin/hpsysadmin lists.debian.org
edu/sunman.html
?l=aix-l&r=1&w=2
www.linuxmanpages.com/
publib.boulder.ibm.com/
man pages man pages
infocenter/pseries/ techpubs.sgi.com/ Fedora Core 4:
developer.apple.com/ docs.sun.com/
v5r3/index.jsp? docs.hp.com/en/hpuxman_pages.html library/tpl/cgi- linuxcommand.org/ www.openbsd.org/cgi-
www.freebsd.org/ n/a ? www.freebsd.org/cgi/man.cgi documentation/Darwin/ ? man.netbsd.org ? uw714doc.sco.com/en/Navpages/ app/docs/ ? ? ? ? www.freebsd.org/
topic=/com.ibm.aix.doc/ hpuxman_pages.html bin/browse.cgi? superman_pages.php bin/man.cgi
cgi/man.cgi Reference/ManPages coll/40.10 cgi/man.cgi
infocenter/base/ coll=&db=man
alphabeticallistofcommands.htm www.tldp.org/docs.html#man
Footnotes
1. In System V-based Unixes, run level relates to booting, shutdown, and single-user mode. In BSD, it has to do with security.
2. Freeware or separately downloadable; not part of the base OS. See the precompiled binaries task or web search.
3. Gentoo does not have precompiled packages. It compiles them on your computer. It also has some "overlays" for packages that are not (yet) in the main portage tree. See http://overlays.gentoo.org/
Universal Command Guide is a large book which covers several of the OSs in this table. See www.allcommands.com
UnixGuide.net has a similar table covering fewer Unix versions and a somewhat different set of tasks. See unixguide.net/cgi-bin/unixguide.cgi
Colin Barschel's Unix Toolbox cb.vu/unixtoolbox.xhtml is a wonderfully detailed handbook sorted by task area and giving both commands and config file excerpts for Linux and BSD.
Solaris / HP-UX: soldc.sun.com/migration/hpux/migissues/. If that page no longer exists, get an archived version from the Internet Archive Wayback Machine at www.archive.org/web/web.php
Ben Zorn's Debugging Tools for Dynamic Storage Allocation and Memory Management: www.cs.colorado.edu/homes/zorn/public_html/MallocDebug.html
en.wikipedia.org/wiki/Comparison_of_operating_systems
en.wikipedia.org/wiki/Comparison_of_Linux_distributions
USENIX: www.usenix.org/
This page is http://bhami.com/rosetta.html last updated 2008.10.26. This compilation Copyright © 2000-2009 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! Original concept by Pat Wilson. Thanks to Bitt Faulk and Mårten Svantesson for the improved JavaScript.