AIX DG-UX FreeBSD

This custom drawing feature requires IE 5. Use click, shift-click, control-click, and the "set" and "clear" 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. (Print the PDF version with landscape orientation for best result.) 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 Categories: hardware, firmware, devices disks kernel, boot, swap software, patching, tracing, networking security, backup logging TASK \ OS OS notes smit administrative GUI smitty wsm managing users AIX Darwin The Open Source foundation for Mac OS X, descended from NeXTStep Aqua: System Preferences, NetInfo Manager sysadm

files, volumes references DG-UX FreeBSD HP-UX IRIX Linux
(rh) = Red Hat, Mandrake, Suse,... (deb) = Debian, Storm, Progeny, Corel,...

NetBSD

OpenBSD

SCO OpenServer (UnixWare 7.1)

Solaris

SunOS

Tru64 (Digital Unix, OSF/1) (4)= 4.0F/G (5)= 5.0A checklist (5) sysman

Ultrix

OS / TASK OS notes

/stand/sysinstall

sam

/usr/sysadm/bin/sysmgr (6.3+) toolchest /usr/Cadmin/bin/* /usr/Cadmin/bin/cpeople

linuxconf yast2 (Suse) /usr/sbin/{useradd,userdel} dmesg (if you're lucky) /proc/cpuinfo /proc/pci /proc/meminfo /proc/interrupts /proc/ioports /dev/nvram (if you have it) hwclock modprobe kerneld insmod /dev/st0 xf86config

scoadmin

list hardware configuration

prtconf lscfg lsattr lsdev

ioreg -bls

dg_sysreport -g hardware

dmesg cat /var/run/dmesg.boot

ioscan dmesg (if you're lucky) adb model stm (from the SupportPlus CDROM) setboot bootadmin (at boot PROM) stm insf -H hwpath (where hwpath is given by ioscan)

hinv

dmesg cat /kern/msgbuf

dmesg

hwconfig hw scoadmin/DCU /usr/lib/X11/testtools/ z35SysInfo

solstice admintool smc (8 01/01+) /usr/sbin/{useradd,userdel} prtconf -v /usr/platform/`uname -i`/sbin/prtdiag -v (sun4u and sun4d only) dmesg (if you're lucky) psrinfo -v isainfo -v dmesg iostat -En eeprom

administrative GUI

uerf -R -o full dia -R full (5) hwmgr -show devices

uerf -R -o full (if you're lucky)

list hardware configuration

show/set EEPROM/NVRAM bootlist -o -m normal values add device without cfgmgr -v reboot

nvram

nvram printenv/setenv (at command monitor)

openprom (on OpenFirmware architectures)

(4.0D+) consvar (3.2.*) scu scan edt (4.0) scu scan edt; disklabel -rw rzXX label (for disks) (5.x) dsfmgr -k; disklabel -rw dskn auto (5.x) /dev/ntape /dev/tape

show/set EEPROM/NVRAM values add device without reboot

(automatic — autdodiskmounter)

scsiha -pr ioconfig -f /hw /dev/tape /dev/nrtape

mkdev

devfsadm. pre-Solaris 7, use: drvconfig; devlinks; {disks, tapes, ports} /dev/rmt/0 kdmconfig (x86) prtvtoc 2 format format fmthard /kernel/genunix /platform/`uname -m`/ kernel/unix /platform/`uname -m`/ kernel/sparcv9/unix (7+) sysdef cat /etc/system /usr/sbin/ndd adb -k who -r installboot /usr/platform/`uname -m`/lib/fs/ufs/bootblk raw_device_file /etc/rc* /etc/init.d/ /etc/.login swap -s swap -l ufs Solstice DiskSuite Veritas Volume Manager /etc/rc* dkinfo c format

tape device X kvm config read a disk label whole disk in partition label a disk lspv -l N/A mkvg Disk Utility (non-root partitions are mounted under /Volumes) (labels unused) admpdisk admpdisk -o list admvdisk -o list disklabel -r c fdisk disklabel -wr sysinstall fdisk sysinstall pvcreate diskinfo pvdisplay

/dev/rct0 hwconfig disklabel -r d (on i386) c (everything else) fdisk -r OR disklabel -rl c disklabel -wr fsname /dev/1s# (#=0,1,...)

tape device X kvm config

prtvtoc 10 dvhtool fx -x fx

fdisk -l

disklabel -r c disklabel -rw

chpt -q c chpt -a

read a disk label whole disk in partition label a disk

partition a disk

mklv

pdisk

admpdisk

sam

cfdisk fdisk e2label parted (if you have it) fdisk pdisk (on a MAC) /boot/vmlinuz /boot/bootlx

disklabel -wr

disklabel

fdisk -e OR disklabel -E

format

disklabel -e

chpt -p

partition a disk

kernel

/unix

/dgux

/kernel

/hpux (9) /stand/vmunix (10+)

/unix

/netbsd

/bsd

/unix

/vmunix

/vmunix

/vmunix

kernel

show/set kernel parameters show runlevel

/usr/samples/kernel/vmtune (installed with the bos adt.samples fileset) /usr/sbin/no (network-related) who -r (runlevels unused)

/boot/kernel.conf sysctl /etc/sysctl.conf who -r

sam sysdef kmtune (11+) who -r mkboot

systune

/proc/* /proc/sys/* /sbin/runlevel

/etc/sysctl.conf

/etc/conf/cf.d/configure -x

dxkerneltuner sysconfig who -r (4.x+) disklabel -rw -t [ufs|advfs]

show/set kernel parameters show runlevel make disk bootable

who -r dvhtool

who -r

make disk bootable bosboot -a /System/Library/StartupItems/*, /etc/rc* /Library/StartupItems/, /etc/rc* ls -l /var/vm ufs hfs+

startup scripts csh global .login check swap space "normal" filesystem volume-based filesystem

/etc/rc*

/etc/rc* /usr/local/etc/rc.d/

/etc/rc* (9) /sbin/rc* (10+) /sbin/init.d/ /etc/csh.login swapinfo hfs

/etc/rc* /etc/init.d/ swap -s swap -l efs, xfs

/etc/rc* (but may vary) /etc/init.d/ cat /proc/meminfo free ext2

/etc/rc*

/etc/rc*

/etc/rc*

/sbin/init.d; links in /sbin/rc?.d

/etc/rc*

startup scripts csh global .login

lsps -a jfs

admswap -o list -buv swapinfo dg_sysreport -p freeswap dg/ux ufs ccd vinum

swapctl ffs (was ufs)

swapctl ffs (was ufs)

swap -l htfs

pstat -s 4.2

swapon -s (4) ufs (5) AdvFS Advfs LSM ufs

check swap space "normal" filesystem volume-based filesystem

jfs

jfs (vxfs) /etc/checklist (9) /etc/fstab (10+) /usr/sbin/vg* lv* pv* extendfs fsadm

xlv, xvm, xfs

ccd, raidframe

ccd

vdisk /etc/mnttab /etc/default/filesys /etc/vfstab (local) /etc/rmtab (remote)

file system description

/etc/filesystems

NetInfo

/etc/fstab

/etc/fstab

/etc/fstab

/etc/fstab

/etc/fstab

/etc/fstab

/etc/vfstab (local) /opt/VRTSvxva/bin/vxva (Veritas) /usr/opt/SUNWmd/ sbin/metatool (DiskSuite) newfs mkfs

/etc/fstab

/etc/fstab AdvFS: /etc/fdmns AdvFS: mkfdmn, mkfset, addvol, showfdmn LSM: volassist or volmake, volume, volplex and volsd, volprint AdvFS: mkfdmn UFS: newfs MFS: mfs

/etc/fstab

file system description

volume manipulation

smitty vg smitty lvm smitty jfs

Disk Utility / pdisk

sysadm

vinum

xlv_mgr xvm

volume manipulation

create filesystem

crfs truncate -s size[K|M|G] filename dd if=/dev/zero of=filename bs=size[b|k|m|g] \ count=desired (automatic — autdodiskmounter) mount /cdrom mount_cd9660 /dev/acd0? /cdrom

mkfs

create filesystem

create non-0-length lmktemp empty file

prealloc

mkfile

dd if=/dev/zero of=filename bs=1024k count=desired

dd if=/dev/zero of=filename bs=1024k count=desired

dd if=/dev/zero of=filenmae bs=1024 count=desired

mkfile

dd if=/dev/zero of=filename bs=1024k count=desired

create non-0-length empty file

mount CDROM

mount /cdrom smitty cdrom

pfs_mountd pfsd pfs_mount

(mounts automatically when CD inserted) mount /cdrom

mount -t cd9660 -r /dev/cd0a /path

mount /dev/cd0 path

/etc/init.d/vold start; volcheck or mount -F hsfs /dev/sr0 /cdrom /etc/dfs/dfstab /etc/exports /etc/exports

mount CDROM

NFS share definitions NFS share command name resolution order show network interface info

/etc/exports /etc/xtab

NetInfo

/etc/exports

/etc/exports

/etc/exports

/etc/exports

/etc/exports

/etc/exports

/etc/exports

NFS share definitions NFS share command name resolution order show network interface info

/usr/sbin/exportfs -a

kill -s HUP `cat /var/run/mountd.pid` NetInfo /etc/host.conf

exportfs -a

exportfs -a 6+: /etc/nsswitch.conf 5.3: /etc/resolv.conf ifconfig -a netstat -ia

/etc/init.d/nfs-server reload (rh) exportfs -a /etc/nsswitch.conf /etc/resolv.conf

kill -s HUP `cat /var/run/mountd.pid`

exportfs -a /etc/nfs start /etc/resolv.conf ifconfig -a netstat -in Network Config. Mgr. (GUI)

share shareall /etc/nsswitch.conf ndd ifconfig -a netstat -in (8+) kstat -n hme0 | egrep 'ifspeed|duplex' edit: /etc/{resolv.conf, hosts, hostname.*, nodename, dumpadm.conf, net/*/hosts} /usr/sbin/sys-unconfig; reboot ping hostname packetsize 1 /etc/defaultrouter

exportfs -a

/sbin/init.d/nfs start; /sbin/init.d/nfsmount start /etc/svc.conf ifconfig -a netstat -in

/etc/netsvc.conf

/etc/nsswitch.conf lanadmin landiag lanscan netstat -in

ifconfig -a no -a

ifconfig -a

ifconfig -A

/sbin/ifconfig

ifconfig -a

ifconfig -A

change network address

smitty chinet

System Preferences: Network NetInfo

sysadm

edit /etc/rc.conf (option ifconfig_interfacename)

/sbin/set_parms initial

edit: /etc/{hosts, sys_id, resolv.conf, TIMEZONE}, /etc/config/{static-route.options, ifconfig-1.options}; reboot ping -c 1 hostname /etc/config/ static-route.options /etc/issue

(rh) edit: /etc/hosts, /etc/sysconfig/network, edit /etc/ifconfig.interface /etc/sysconfig/network-scripts/ifcfg-eth0 dhclient (deb) edit /etc/network/interfaces; /etc/init.d/networking restart ping -c 1 hostname (rh) /etc/sysconfig/network (rh) /etc/sysconfig/static-routes (deb) /etc/init.d/network (deb) /etc/network ping -c 1 hostname

ifconfig edit /etc/hostname.driver netconfig

(4.x) netsetup (5.x) sysman net_wizard or netconfig /usr/sbin/ping -c 1

change IP

ping one packet

ping -c 1 hostname netstat -r smitty route /etc/security/login.cfg

ping -c 1 hostname

ping -s -c 1 hostname

ping -c 1 hostname edit /etc/rc.conf (option defaultrouter)

ping hostname 10 1 (9) ping hostname -n 1 (10+) /etc/rc.config.d/netconf

ping -c 1 hostname netstat -r

ping -c 1 hostname

ping hostname packetsize 1

ping one packet

route definitions telnetd, ftpd banner encrypted passwords in allow/deny root logins

sysadm

netstat -r route show /etc/notrouter /etc/default/telnetd /etc/default/ftpd

/etc/routes

route definitions telnetd, ftpd banner

/etc/security/passwd

NetInfo

/etc/shadow

/etc/master.passwd /etc/login.access; /etc/ttys

/etc/passwd (not Trusted) /secure/etc/passwd (Trusted 9) /tcb/files/auth/ (10+) /etc/securetty

/etc/shadow

/etc/shadow (may vary)

/etc/master.passwd (/etc/pwd.db)

/etc/master.passwd (/etc/pwd.db) /etc/ttys

/etc/shadow

/etc/shadow

/tcb/files/auth (only with Enhanced Security) /etc/securettys

/etc/shadow

encrypted passwords in allow/deny root logins

/etc/security/user

/etc/ttys (doesn't affect ssh)

/etc/default/login

/etc/default/login

/etc/securetty

/etc/ttys

/dev/default/login

/etc/default/login

netbsd.uni-duisburg.sgi.interex.freebsd.tru64unix.com/support/ security/security.hpchronicle.x) uerf.unix.ultrix http://www.latech.net/linux/RPM 4.unixsolutions.apple.os. edu/sunman.misc mailing list archives newsgroup(s) groups. kernel builder only) swlist -l product | grep someStringOfInterest update (9) swinstall (10+) trace (freeware) tusc (11+. dmesg admsyslog -o report dmesg dmesg sysdiag (9 and early10) stm/cstm/mstm/xstm (10.sun.org/ MailingLists www.ucla.html comp.tru64unix .log /var/adm/SYSLOG sysmon amsyslog availmon eventmond imdmonitor syserrpanel /var/log/messages default syslog system error reporting tool errpt Console /var/log/crash.com/ http://www.tru64 Encompass/DECUS comp.4-) uname -R (6.supelec.dec.com/ http://www.google user groups magazines comp.uc.com.bsd.org/ products/hpux software.bsd.org/ handbook/ eresources.org/ http://www.scoworld.freebsd. Do not reproduce for commercial purposes.linux.com/support/rs6000 http://www.sun.com pkginfo pkg_info swconfig displaypkg pkginfo custom installpkg SCOadmin (GUI) pkginfo prodreg admintool setld -i show installed software add software precompiled binaries of GPLware and freeware C compiler /usr/lib/instl/sm_inst installp_cmd -a -d 'device' '-c' '-N' '-g' '-X' aixpdslib.html vendor docs and patches www.answers) www.5+) inst par ftp://ftp.ornl.html http://www.com/ http://www.tucows.misc comp.oase-shareware.nl/ htbin/hpsysadmin comp.linux.html# mailinglists comp. edu/htbin/wlvindex? ADSM-L comp.org/handbook docs.com support/patch_intro.compaq.freebsd.x) (System errors) EVM (evmget.thp.sco.com/support/pipeline.bsd.interex.uc. gov:8000 mailing list www.org/ help/lists.openbsd.freebsd.sco.deadly.0A 800-344-4825 vendor phone (US) Darwin DG-UX FreeBSD HP-UX IRIX Linux NetBSD OpenBSD SCO OpenServer (UnixWare 7.com www.sgi.show installed software lslpp -L smitty install_all ls /Applications pkginfo pkg_info rmfn.html www. ibm.unix.gov:8000 www-archive.redhat.tru64.unix.com/opensource/ http://www.hp.sunfreeware.0-release swinstall inst swmgr pkg_add /usr/pkgsrc && make pkg_add /usr/ports && make pkgadd setld -l add software http://hpux.com/ www.linux.netbsd.sun.org/docum.freebsd.com/solaris/ www.org/ comp.sourceforge.rs6000.hp. openbsd. daemon.html http://www.edu/ http://hpux.html This page is http://home.5.com/ techpubs.unix. ibm.html /usr/bin/cc /usr/bin/cc dupatch -track -type kit dupatch -track -type patch setld -i | grep patchname setld -i dupatch trace trace truss (4.org/ mail.org/shell//articles/awkcompat.log.earthlink.cs.com/fun /opt/MIPSpro/ bin/cc ($) /usr/bin/cc versions -b | grep patch (6.compaq.com/ www.sco.0F/G (5) 5.sgi.12. org/ search.admin www.org/ http://www.sys.sys.hp.html#IRIX www.org/ http://www.com/ www.hpux www.org/releases/ itrc.org/ MailingLists comp.com AIX: 800-237-5511 vendor phone (US) IBM hardware: 800-426-7378 TASK / OS AIX 1-800-MY-APPLE 800-USA-4SUN 800-344-4825 Tru64 (Digital Unix.com/ http://www.log freeware.1-) patchadd (2.ibm.services.latech.com/ http://www.marist. freeware) /var/adm/syslog/syslog.htm /usr/ibmcxx/bin/cc /usr/bin/cc (hacked gcc) /stand/sysinstall /usr/ports make pkg_add ftp://ftp.sys.gov (majordomo) agers@ornl.com/ vendor docs and patches techsupport.08.com/library/aixpert/ www.com/software/ www.html vendor home page http://www. dia (DECevent) (5. what (HP-UX 9) swlist (HP-UX 10+) versions showfiles (rh) rpm -a -i (rh) rpm -qa (deb) dselect (deb) dpkg -l (rh) rpm -hiv (deb) dselect (deb) apt-get install pkg (deb) dpkg -i www.org/ comp.apple.sgi. lpr.0R/errata.x+) /var/adm/messages /var/adm/syslog.com 800-633-3600 800-800-4SGI http://www.sunworld.html last updated 2001.dutch works.apple.connect.org/hpuxusr/ http://www.dg. .solaris www. ca (Compqaq analyze) precompiled binaries of GPLware and freeware C compiler /usr/sde/default/usr/bin/cc /usr/bin/cc (gcc) gcc /usr/bin/cc /usr/bin/cc /usr/bin/cc /opt/SUNWspro/ bin/cc ($) showrev -p prodreg (2.html http://fink.html support.com/ http://www.tru64unix .6+) patchadd -p installpatch (2.edu (LISTSERV) www.freebsd.de/ cuaix/cuaix.sco. admin.nl (majordomo) www.developer.org/.unix.0/ FreeBSD/ports/i386/ packages-4.org.ececs.org/ linux.errlog (4.dec.seas.openbsd.com/ demos tpegsrvr.daemonnews.unix.sys.sgi.unix.* (esp . OSF/1) (4) 4.misc www.misc hpux-admin@ dutchworks. auth.sgi.bull.hppro.uk/ /opt/softbench/bin/cc ($) /bin/cc (9) /usr/bin/cc (10+.com http://www.edu (majordomo) http://www.dated (kern.macworld. edu/sunman.com/ docs/download.hp.ececs.openbsd. then rebuild) ktrace truss /var/adm/messages /var/log/messages (rh) rpm -q (deb) dpkg -s (deb) apt-get update (deb) apt-get upgrade strace /var/log/syslog /var/log/messages cat /kern/version swconfig -P show patch level and/or patches patch tool tracing utility cvs ktrace cvs/CTM ktrace ptrace /var/log/messages traceroute /usr/adm/syslog /var/adm/log/osmlog default syslog /var/log/system.com sunsolve. freebsd. user) /var/adm/binary. This compilation Copyright © 2001 Bruce Hamilton bhami@pobox.html http://lists.compaq.html comp.com/ freeware/tbl_packages.gov .openbsd. netbsd. princeton. not ANSI.sun.net/~bhami/rosetta.net/ www-frec.html #ERESOURCES-MAIL www.netbsd.utah.linux.apple.gov/its/archives/ (majordomo) mailing-lists/ www.fr/decus/ vendor home page faq/faq-ultrix.com www. comp.com/ mailing list archives newsgroup(s) groups.org/ Security www.com/ http://www.com/ www.sys.netbsd. ornl.com/support/ docs.unix.com/products html/dg_ux.html comp.google user groups magazines http://lists.edu (majordomo) .html tru64-unix-man decstation-man sun-managers@sunmanagers sun-managers@sunmanagers agers@ornl.zk3. evmshow) (Hardware errors) dia.sgi.netbsd.6+) pkgadd truss sotruss /var/log/syslog show patch level and/or patches patch tool tracing utility instfix -ivq installp smitty update_all trace syscalls /var/adm/syslog Apple:About This Mac ls /Library/Receipts System Preferences / Software Update ktrace dg_sysreport -p patches uname -a (cvsup or cvs to update.com/ www.daemonnews.org/pub/NetBSD/packages/ http://www.1) Solaris SunOS Ultrix OS \ TASK See also Heiner Steven's AWK dialects page at http://www.linuxdoc.sgi. comp. syslog.org/ mail.com/ www.com www.20+) dmesg dmesg cat /kern/msgbuf dmesg dmesg prtdiag dmesg uerf system error reporting tool mailing list AIX-L@pucc.html http://www.html rpmfind.sun admin www-archive.org/ www.edu/ aixpdslib.linuxjournal. ornl.com/docs/ http://www.com/ www.aix www. Reproduce freely for personal use.org/ http://www.

Sign up to vote on this title
UsefulNot useful