Professional Documents
Culture Documents
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-
config*
/usr/sysadm/bin/sysmgr solstice
smit sam (rh) redhat-config* sysadm checklist
(6.3+) Aqua: System Preferences, admintool checklist
administrative GUI smitty Finder sysadm sysinstall linuxconf (obsolete) sysadm sushi (obs) ? WebSysAdmin scoadmin ? ? /etc/install/install administrative GUI
toolchest NetInfo Manager smc (8 01/01+) (5) sysman
wsm smh (11.31+) (SUSE) yast2 xmenu
/usr/Cadmin/bin/*
(deb) dpkg-reconfigure
(md) drakconf
useradd (5+) /usr/sysadm/privbin/ useradd useradd
userdell (5+) adduser useradd addUserAccount useradd useradd
usermod useradd userdel
usermod (5+) chpass userdel useradd userdel adduser xadmin
Finder userdel Aqua: System userdel sysadm scoadmin usermod
lsuser useradd rmuser usermod userdel userinfo edit /etc/passwd and userdel adduser udbgen
managing users /etc/adduser passmgmt adduser Preferences / Accounts adduser (interactive) useradd useradd getent managing users
mkuser userdel pw getprpw usermod usermod create home directory removeuser removeuser udbrstrict
edit /etc/passwd chage niutil usermod userdel userdel logins
chuser vipw modprpw sysadm user dxaccounts nu scripts
/usr/Cadmin/bin/cpeople getent user /usr/sadm/bin/smuser (9+)
rmuser pwget 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
arch
uname
prtconf -v
dmesg (if you're lucky)
ioscan /usr/platform/`uname -i`/ dia -R full
cat /var/log/dmesg
uname dmesg (if you're lucky) sbin/prtdiag -v (sun4u and sun4d only) vmstat -P
/proc/* hwconfig
prtconf sysctl -a adb autoconf -l arch -k hwmgr -get category
lshw sysctl hw hw
lscfg dmesg model prtconf dmesg showconf psrinfo -v (5) hwmgr -show machid
hinv dmidecode hostinfo dmesg scoadmin/DCU
lsattr cat /var/run/dmesg.boot stm (from the SupportPlus CDROM) devstat more uname -p isainfo -v devices dmesg (if you're getconf
list hardware configuration ? dg_sysreport -g hardware lspci ioreg -bls cat /var/run/dmesg.boot dmesg (if you're lucky) list hardware configuration
lsdev pciconf -l bdf (like most vendors' df) machinetype /var/run/dmesg.boot uname -M dmesg psrinfo lucky) uname -a
sysinfo -vv lspnp system_profiler pcidump /usr/lib/X11/testtools/
lspath usbconfig getconf more /etc/.osm cat /kern/msgbuf mpcntl -I iostat -En pset_info
lsscsi acpidump z35SysInfo
camcontrol devlist machinfo (11.23+) prtfru sys_check
lsusb
print_manifest cfgadm -l /usr/bin/X11/dxsysinfo
lsmod
/etc/path_to_inst
(SUSE) hwinfo
/sys/devices/*
system_profiler
uname -u SPHardwareDataType |
cat /etc/hostid
unique id useful for licensing uname -m ? ? uname -i ? ? grep "Serial Number:" | ? ? ? ? ? hostid hostid consvar -g sys_serial_num ? ? unique id useful for licensing
sysctl kern.hostuuid
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
scsimgr (11.31+) disklabel -r
admpdisk -o list disklabel -r diskinfo pdisk rawDev -dump disk
read a disk label lspv ? prtvtoc fdisk -l prtvtoc disklabel diskName dkpart -l fsname prtvtoc dkinfo disklabel -r chpt -q ? read a disk label
admvdisk -o list gpart show (7.0+) 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 hdisk[0,1,2,...] ? ? 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
fdisk
edvtoc
disklabel -wr dvhtool cfdisk format
prtvtoc disklabel -wr
label a disk mkvg ? admpdisk sysinstall pvcreate fx -x fdisk (labels unused) disklabel -E diskName dksetup divvy prtvtoc format disklabel -rw chpt -a /etc/labelit label a disk
mkpart mbrlabel
gpart add (7+) e2label (x86) fdisk
updatescsi
sade (6.3+)
labelit
startsrc
stopsrc (rh) service
svcs (10+)
start/ stop/ config services lssrc ? ? service (8.1+) ? chkconfig (rh) chkconfig launchctl ? ? ? ? ? ? ? ? ? start/ stop/ config services
svcadm (10+)
refresh (deb) sysv-rc-conf
srcmstr
shutdown -Ph now
shutdown (& power off if /etc/shutdown -h /etc/shutdown -y -g0 -i0 - shutdown -y -g0 -i0 shutdown (& power off if
shutdown -Fh ? shutdown -p now shutdown -yh 0 halt ? shutdown -p now shutdown -hp now ? shutdown -i0 shutdown -y -g0 -i5 ? ? ? ?
possible) Finder p halt possible)
poweroff
0: halt and power off
1: single-user mode
(set in /etc/inittab) 0: firmware monitor
6: reboot 0: shut down
0: power-down 0: shutdown 0: power-down s,S: single-user
c: block further logins s,S: single-user (set in /etc/inittab) run levels 1
run levels 1 s,S: single-user s,S: single-user -1: permanently s,S: single-user 1: sys admin 0: shut down 0: shut down
q: rescan ttys(5) file 1: sys admin 0: halt -1: permanently insecure *=normal states
*=normal states 1: sys admin 1: sys admin insecure 1: sys admin 2: multiuser 1: single user 1: single user
2: multiuser 2: multiuser s,S,1: vendor-dependent 0*: insecure for more detail
for more detail ? ? 2: multiuser (no NFS) ? 2*: multi-user 0*: insecure 2*: multiuser ? 3*: share NFS ? 2: multi-user, no NFS 2: multi-user, no NFS ?
6: reboot kernel security levels: 3*: share NFS 1: single-user 1*: secure see
see 3*: multiuser 3: share NFS 1*: secure 3+4*: user-defined 4*: user-defined 3: multi-user 3: multi-user
-1*: permanently insecure 4*: start GUI 2-5*: multiuser 2: highly secure www.phildev.net/runlevels.html
www.phildev.net/runlevels.html 4: user-defined 4: user-defined 2: highly secure 5: firmware update 5: power-down if possible 6: reboot 6: reboot
0: insecure 5: user-defined 6: reboot
5: firmware monitor 5: firmware 6: reboot 6: reboot
1: secure 6: user-defined
6: reboot
2: highly secure
3: network secure
show runlevel 1 who -r who -r sysctl kern.securelevel who -r who -r /sbin/runlevel (runlevels unused) who -r sysctl kern.securelevel sysctl kern.securelevel who -r who -r who -r ? who -r ? who -r show runlevel 1
/etc/localtime /usr/lib/locale/TZ/ /usr/share/zoneinfo/ /etc/localtime /usr/share/zoneinfo/
time zone info /etc/environment ($TZ) /etc/TIMEZONE /etc/TIMEZONE /usr/lib/tztab /usr/share/zoneinfo/ /usr/lib/locale/TZ ? ? /usr/share/lib/zoneinfo/ ? /etc/zoneinfo ? ? time zone info
/usr/share/zoneinfo /etc/TIMEZONE /etc/localtime /usr/share/zoneinfo/ /etc/localtime
swapon -s
admswap -o list -buv swap -s swapctl -l
swapinfo swap -s cat /proc/meminfo ls -l /var/vm swap -s swap -s
check swap space lsps -a /etc/swap -l dg_sysreport -p freeswap swapinfo swap -l pstat -s swapctl swap -l pstat -s swapon -s ? /etc/swapper check swap space
pstat -s swap -l cat /proc/swaps vm_stat swap -l swap -l
systat -swap sar -r systat swap
free
runon
psrset -b
pset_create
bind process to CPU bindprocessor ? ? cpuset mpsched -c runon taskset (sched-utils) ? ? ? ? ? ? pbind ? ? ? bind process to CPU
pset_info
intctl
psradm
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
ufs/ffs/ufs2 (5+) hfs ext2 (4) ufs
ufs vxfs htfs (OpenServer 5) ufs NC1FS
"normal" filesystem jfs ufs dg/ux ext2 vxfs (11.0+) efs, xfs ext3 vxfs ffs (was ufs) ffs (was ufs) 4.2 (5) AdvFS ufs "normal" filesystem
hfs+ ufs (root) vxfs zfs (OpenSolaris) C2FS
zfs (7+) ReiserFS
ccd
vinum jfs (vxfs) LVM, LVM2 zfs(10+)
vdisk ccd Advfs
volume-based filesystem jfs2 ? admvdisk geom (5+) LVM xlv, xvm, xfs EVMS ? vdisk vdisk Solstice DiskSuite ? N/A ? volume-based filesystem
VxVM ccd, raidframe raid LSM
zfs (7+) VxVM ($) VxVM ($) VxVM ($)
softraid
/etc/mnttab
/etc/checklist
/etc/filesystems /etc/default/filesys
file system /etc/fstab (9) /etc/vfstab /etc/fstab file system
mount /etc/fstab /etc/fstab /etc/fstab /etc/fstab NetInfo /etc/vfstab /etc/fstab /etc/fstab /etc/vfstab (local) /etc/vfstab (local) /etc/fstab /etc/fstab /etc/fstab
description zfs (7+) /etc/fstab /etc/dktab AdvFS: /etc/fdmns description
lsfs /etc/rmtab (remote)
(10+)
zpool (10+)
mke2fs
newfs newfs AdvFS: mkfdmn bb
/etc/newfs newfs mkfs mkreiserfs newfs mkfs divvy (OpenServer 5) newfs newfs
create filesystem crfs admfilesystem mkfs newfs_hfs mkfs newfs mkfs UFS: newfs mkfs create filesystem
/etc/mkfs zfs (7+) newfs mkdosfs makefs newfs mkfs mkfs mkfs
newfs_mdos zfs (10u2+) 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
nwmgr (11.31+)
ifconfig -a ndd ifconfig -a
lanadmin ifconfig -a ifconfig -a
no -a ifconfig -a ifconfig -a netstat -in
netstat -i netstat -i landiag /usr/etc/ifconfig -a ifconfig ifconfig -a ifconfig -a inetstat -in netstat -in ifconfig -a
show network interface info netstat -i ifconfig -a ildconfig ifconfig -A netstat -in ifconfig -a hwmgr get attribute ifconfig show network interface info
/etc/ifconfig -a ifconfig lanscan netstat -ia ethtool netstat -a netstat -in etherstat Network Config. Mgr. (GUI) netstat -in
netstat -v netstat -in dladm -category network
netstat -in cmxinfo
lsattr -E -l entX (8+) kstat -n hme0 | egrep
ifconfig lanx
'ifspeed|duplex'
dhclient interface
(runtime)
dhcpcd
start DHCP client dhcpcd n/a dhcpd dhclient ? proclaim ? ? dhclient ? ? ifconfig interface dhcp ? dhcpconf interface start ? ? start DHCP client
dhclient add dhcp to
/etc/hostname.driver
(boot time)
/usr/etc/ping hostname ping hostname 10 1 (9) /usr/etc/ping -c 1 ping hostname ping -c 1
ping one packet 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 -c 1 hostname ping -c 1 hostname ping -c 1 hostname ping hostname packetsize 1 ? ping hostname ping one packet
packetsize 1 ping hostname -n 1 (10+) hostname packetsize 1
etherfind
nettl
iptrace snoop tcpdump
sniff network ? tcpdump tcpdump netfmt tcpdump tcpdump tcpdump tcpdump tcpdump ? snoop etherfind tcpdump ? ? sniff network
ipreport tcpdump wireshark (formerly ethereal)
etherape
/etc/defaultrouter
route
netstat -r /etc/notrouter
edit /etc/rc.conf (option (rh) /etc/sysconfig/network tcpconfig netstat -r /etc/defaultrouter
route show /etc/gateways
netstat -r defaultrouter) /etc/rc.config.d/netconf /etc/config/ (rh) /etc/sysconfig/static- /etc/inet/defaultrouter route show (kernel tweak or
route definitions netstat -r sysadm netstat -r /etc/rc.conf netstat -r netstat -r in.routed /etc/routes ? netstat -r route definitions
route netstat -r netstat -r static-route.options routes /etc/inet/gate* /etc/mygate adb to diable
/etc/mygate netstat -r
route (deb) /etc/init.d/network netstat -r forwarding)
route add
(deb) /etc/network
/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
adjkerntz ntpdate
set date/time System Preferences/ ntpdate rdate ntpdate set date/time
ntpdate date ? ntp ntpdate timeslave rdate ? ? ? ? ntpdate rdate ?
(from net: ntp or other) Date & Time ntpd ntpd rdate (from net: ntp or other)
tzsetup netdate
timed (obs) 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/security/user /etc/login.conf /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
genfilt ipfw ipchains Aqua / System Prefs / /etc/ipf6.conf
pfctl
firewall config smitty ipsec4 ? ? ipf /etc/opt/ipf/ipf.conf /etc/ipf.conf ipfwadm Sharing / Firewall ? ? ? (9+) /usr/aset/ ? ? ? ? firewall config
/etc/pf.conf
wsm network pfctl (rh) redhat-config- ipfw pfctl (3.0+)
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
rmfn, what (HP-UX 9)
lslpp -L ls /var/db/pkg showfiles (deb) dselect ls /Network/Applications displaypkg pkginfo -l displaypkg prodreg
show installed software ? pkginfo swlist (HP-UX 10+) pkg_info pkg_info ? setld -i ? ? show installed software
lssrc showprods (deb) aptitude /Network/Users/*/ pkginfo sysadm pkginfo admintool
swm list (11.31+)
(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_info -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
sysinstall installpkg custom
rpm -ihv (rh) yum install pkg
/usr/ports make swm install (11.31+) inst drag-and-drop pkgadd pkg_add pkg_add pkgadd installpkg
add software installp -acgxYd /sourcedir n/a (no package system) sysadm (deb) dselect pkgadd ? setld -l ? ? add software
pkg_add swinstall swmgr /Applications/ Utilities/ pkgplus /usr/pkgsrc && make /usr/ports && make sysadm SCOadmin (GUI)
[fileset|ALL] (deb) apt-get install pkg
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 /usr/bin/cc (gcc) /bin/cc (9) cc /usr/bin/cc /opt/SUNWspro/
C compiler 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/clang (9.0+) /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
swm list (11.31+) versions -b | grep patch cat /kern/version
show patch level instfix -ivq (rh) cat /proc/version uname -a uname -a prodreg (2.6+) showrev -p dupatch -track -type patch show patch level
? what /dgux uname -a swlist -l product | uname -R (6.5+) pkginfo -l uname -a sysctl -n kern.version swconfig -P ? ?
and/or patches oslevel -s (rh) cat /etc/redhat-release lsbom pkginfo | grep EKS patchadd -p (if you're lucky) setld -i | grep patchname and/or patches
grep PHsomeString /etc/release
(deb) dpkg -s cat /System/Library/ cat /etc/release sizer -vB
CoreServices/
SystemVersion.plist
cvs
csup (6.2+) apt-get update
cvsup installpatch (2.5.1-)
freebsd-update (7+) 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 swinstall (10+) swmgr pkgplus patch cvsync sysadm pkgadd; pkgrm dupatch
cvsup or cvs to update, (rh) yum update softwareupdate
patch /usr/sadm/bin/smpatch (9+)
then rebuild (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)
probevue
caliper fprof truss
trace ktrace par strace ktrace; kdump (<=10.4) ktrace ktrace
?=dg_strace caliper ktrace truss sotruss trace cdbx
tracing utility syscalls ? truss prfstat ltrace dtruss; dtrace (>=10.5) truss ktruss kdump truss trace ? tracing utility
(>=4.20MU06) trace (freeware) scstat dtrace (10+) truss jumptrace
truss dtrace (8+) SystemTap (freeware) fs_usage kdump systrace
tusc (11+, freeware)
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
fuser
lsof lsof fstat
match process to file or port procfiles (5.2+, files only) ? fuser sockstat fuser lsof fuser fstat fuser ? lsof2 ? ? ? ? match process to file or port
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/
www.linux.org sun.com/solaris
www.developer.ibm.com/
www.debian.org sun.com/bigadmin
tech/map/aixrm.html www-csc.dg.com/
www.sgi.com/software/ gentoo.org ncr.com www.caldera.com/ sun.com/developers/support www.tru64unix www.supelec.fr/decus/
vendor home page www-941.ibm.com/ n/a csc/default.asp www.freebsd.org hp.com/go/hpux www.apple.com www.netbsd.org www.openbsd.org www.fujistu-siemens.com ? www.cray.com vendor home page
software.html#IRIX www.redhat.com teradata.com products/openunix soldc.sun.com .compaq.com faq/faq-ultrix.html
collaboration/
(SUSE) access1.sun.com
wiki/display/WikiPtype/Home
www.novell.com/linux opensolaris.org
www.info.ncr.com/
www.redbooks.ibm.com www.openbsd.org/
techpubs.sgi.com developer.apple.com/ eCRM-
www.ibm.com/ docum.html
www.sgi.com/ darwin OSHW-Browse
developerworks/aix www-csc.dg.com/csc/ software.hp.com tldp.org service.fujitsu-siemens
support/patch_intro.html www.info.apple.com/ By-Results.cfm docs.sun.com
vendor docs and patches (see techsupport.services. custdocsasp/ www.freebsd.org/handbook docs.hp.com .com www.tru64unix www.cray.com/ vendor docs and patches (see
? support.sgi.com support/downloads.html ?pl=&PID=&title= www.netbsd.org/ www.openbsd.org/ www.caldera.com/support sunsolve.sun.com ? N/A (EOL)
also man pages) ibm.com/ custdocs2.asp? www.freebsd.org/releases/ itrc.hp.com www.linuxdoc.org/ its.siemens.com/lobs/its/ .compaq.com/docs craydoc also man pages)
relnotes www.apple.com/support/ &release= Security errata.html
server/support? category=069docs.asp rpmfind.net/linux/RPM its_sc/eks_en/unix_en.htm
grelnotes security/security.html &pl=Software
view=pSeries
%20-%20 www.openbsd.org/
MP-RAS&sbrn=3 security.html
800-426-7378 925-674-0783 (Germany)
vendor phone (US) (EOL; unsupported) ? 800-633-3600 800-800-4SGI ? 1-800-MY-APPLE ? ? ? ? 800-USA-4SUN ? 800-344-4825 800-344-4825 ? vendor phone (US)
(800-IBM-SERV) (FreeBSD Mall) +49-5251-80
fedoraproject.org/
www.ibm.com/developerworks/ wikis.sun.com
wikis ? ? wiki.freebsd.org ? ? wiki/Main_Page (fed) wiki.osx86project.org ? ? www.openbsd-wiki.org ? ? ? ? ? ? wikis
wikis/display/WikiPtype/Home www.big-up.org/menu/wiki/doku.php
susewiki.org (SUSE)
Tru64
(Digital Unix, OSF/1)
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 Ultrix UNICOS OS \ TASK
(4) 4.0F/G
(5) 5.0A
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 2010.12.05. This compilation Copyright © 2000-2010 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.