75
TASK \ OS AIX A/UX DG/UX FreeBSD HP-UX IRIX OS notes smit Finder sysadm sysinstall sam smitty toolchest wsm hardware, f disks kernel, boo files, volu networking security, b software, p references By IBM, with input from System V, BSD, etc. Runs mainly on IBM RS/6000 and related hardware. Apple 1988-1995. Based on AT&T SysV.2.2 with extensions from V.3, V.4, and BSD 4.2 and 4.3 Data General was aquired by EMC in 1999. Derived from 4.4BSD- Lite and 386BSD. This table does not include external packages from /usr/ports. Hewlett- Packard SGI. SVR4- based administra tive GUI /usr/ sysadm/ bin/sysmgr (6.3+) smh (11.31+) /usr/ Cadmin/ bin/*

Unix Rosetta

Embed Size (px)

Citation preview

Page 1: Unix Rosetta

TASK \ OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux

OS notes

smit

Finder sysadm sysinstall

sam

smitty toolchest

wsm

hardware, firmware, devicesdisks kernel, boot, swapfiles, volumes

networking security, backupsoftware, patching, tracing, loggingreferences

By IBM, with input from System V, BSD, etc. Runs mainly on IBM RS/6000 and related hardware.

Apple 1988-1995. Based on AT&T SysV.2.2 with extensions from V.3, V.4, and BSD 4.2 and 4.3

Data General was aquired by EMC in 1999.

Derived from 4.4BSD-Lite and 386BSD. This table does not include external packages from /usr/ports.

Hewlett-Packard

SGI. SVR4-based

(rh) = Red Hat,

Mandrake, SUSE,...

(deb) = Debian, Libranet,...

(fed) = Fedora

(gen) = Gentoo

(md) = Mandrake/Mandriva

(SUSE) = SUSE

administrative GUI

/usr/sysadm/bin/sysmgr (6.3+)

(rh, FC2+, RHEL4+) system-config*

(rh) redhat-config*

smh (11.31+)

/usr/Cadmin/bin/*

linuxconf (obsolete)

(SUSE) yast2

Page 2: Unix Rosetta

Finder sysadm sysinstall

Finder useradd adduser useradd useradd

userdel chpass userdel usermod

rmuser usermod userdel

lsuser pw getprpw passmgmt adduser

mkuser vipw modprpw chage

chuser pwget getent

rmuserusrck

AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux

prtconf

?

uname ioscan hinv arch

lscfg sysctl -a uname

lsattr dmesg adb sysinfo -vv

lsdev model

lspath pciconf -l /proc/*

usbconfig lshw

getconf dmidecode

lspci

lspnp

administrative GUI

(deb) dpkg-reconfigure

(md) drakconf

managing users

useradd (5+)/usr/sysadm/privbin/

userdell (5+) /etc/adduser

addUserAccount

usermod (5+)

edit /etc/passwd

/usr/Cadmin/bin/cpeople

TASK \ OS

list hardware configuration

dg_sysreport -g hardware

dmesg (if you're lucky)

dmesg (if you're lucky)

cat /var/run/dmesg.boot

cat /var/log/dmesg

stm (from the SupportPlus CDROM)

bdf (like most vendors' df)

camcontrol devlist

machinfo (11.23+)

print_manifest

Page 3: Unix Rosetta

?

lsscsi

lsusb

lsmod

uname -u

? ? uname -i ? ?uname -m

show/set

n/a

dg_sysctl | setboot nvram

stm hwclock

values nvsetenv

cfgmgr -v ? N/A

camcontrol inf -e scsiha -pr

atacontrol udevtrigger

kldload modprobe

kerneld

list hardware configuration

dg_sysreport -g hardware

(SUSE) hwinfo

/sys/devices/*

unique id useful for licensing

cat /etc/hostid

sysctl kern.hostuuid

lsattr -El sys0 -a systemid

bootlist -o -m normal

eeprom (SPARC only)

/dev/nvram (if you have it)

EEPROM/NVRAM

grep BOOTPATH

printenv/setenv (at command monitor)

add device without reboot

udev (2.6+)

ioscan -fnC devtype;

ioconfig -f /hw

insf -C devtype

scsiadminswap

/etc/rc.d/devfs restart -b bus -p

Page 4: Unix Rosetta

cfgmgr -v ? N/A

insmod

hotplugcardctl

rmdev ? ? rmsf ? ?

tape device /dev/rmt0 /dev/rmt/0

/dev/rsa0 /dev/tape

/dev/st0/dev/*wt* /dev/nrtape

? ? ? ?

? ? ? itemap

xorgcfg

xf86config xorgconfig

xf86config

AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux

lspv ?

disklabel -r

prtvtoc fdisk -ldiskinfo

pvdisplay

add device without reboot

remove device

camcontrol stop

camcontrol eject

/dev/rdsk/c8d?s0

/dev/rmt/0m

/dev/*sa[0-9]*

stdin/ stdout/ stderr

/dev/fd/[012]

/dev/fd/[012]

/dev/fd/[012]

X kvm config

Xorg -configure

/usr/bin/X11/xsetmon

/usr/gfx/setmon

Xorg -configure

system-config-display

XFree86 -configure

redhat-config-xfree86

/etc/X11/?dm

TASK \ OS

read a disk label

admpdisk -o list

scsimgr (11.31+)

admvdisk -o list

gpart show (7.0+)

Page 5: Unix Rosetta

lspv ? prtvtoc fdisk -l

? ? c ? 10

is a partition)

mkvg ? admpdisk

fdisk

pvcreate

dvhtool cfdisk

disklabel -wr fx -x fdisk

sysinstall e2label

mklv

dp

admpdisk

fdisk

fx

sysinstall lvcreate cfdisk

sam fdisk

AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux

kernel /unix /unix /dgux /unix

read a disk label

whole disk in partition

hdisk[0,1,2,...]

/dev/hda (e.g. if /dev/hda1

label a disk gpart add (7+)

sade (6.3+)

partition a disk

smh (11.31+)

parted (if you have it)

Finder: Apple HD SC Setup

gpart add (7.0+)

sade (6.3+) pdisk (on a MAC)

(deb) mac-fdisk (on a MAC)

(md) diskdrake

TASK \ OS

/boot/kernel/kernel

/hpux (9) /boot/vmlinuz*

/stand/vmunix (10+)

/boot/bootlx

(see /etc/lilo.conf or /boot/grub/menu.lst)

Page 6: Unix Rosetta

kernel /unix /unix /dgux /unix

vmo /etc/kconfig

systune

/proc/*

ioo Finder sysctl sam /proc/sys/*

schedo reboot sysdef sysctl

getconf

rmss ? ? ? ? ?

genkex? ? kldstat

kmadmin -s? lsmod

vxketadm -s

? ? kldload

kmadmin -L

?

modprobe

insmod

? ? ? kldunload

kmadmin -U

?

rmmod

modprobe -r

bosboot -a ? dg_sysctl

boot0cfg

mkboot dvhtooldisklabel

/etc/rc*

? /etc/rc*

/etc/rc*

/boot/kernel/kernel

show/set kernel parameters

vi /var/Build/

/boot/loader.conf

smh (11.31+)

system.hostname;;

/etc/sysctl.conf

kmtune (11+)

/etc/sysctl.conf

kctune (11.23+)

limit physical memory

mem= (in lilo.conf or /boot/grub/grub.conf)

loaded kernel modules

kcmodule -a (11.23+)

load module vxketadm modname load

kcmodule module=loaded (11.23+)

unload module kcmodule

module=unused (11.23+)

make disk bootable

(rh) mkbootdisk

(deb) fdisk -A

gpart bootcode (7+)

(and lilo to manipulate mbr)

sade (6.3+)

startup scripts

/etc/rc* (4-) /etc/rc* (9)/etc/rc* (but may vary)

Page 7: Unix Rosetta

/etc/inittab

? /etc/rc*

/etc/init.d/ /etc/init.d/

/sbin/init.d/

startsrc

? ? ? chkconfig

stopsrc

lssrc

refreshsrcmstr

?Finder

haltpoweroff

2: multiuser

? ?

6: reboot 0: halt

6: reboot 1: sys admin 1: sys admin

see 2: multiuser

4*: start GUI 6: reboot

0: insecure1: secure

startup scripts

/etc/rc.d/* (5+)

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

/etc/rc.config.d (preferred)

/sbin/rc* (10+)

start/ stop/ config services

service (8.1+)

(rh) service

(rh) chkconfig

(deb) sysv-rc-conf

shutdown (& power off if possible)

shutdown -Fh

/etc/shutdown -h

shutdown -p now

shutdown -yh 0

/etc/shutdown -y -g0 -i0 -p

shutdown -Ph now

shutdown -y -g0 -i0

run levels 1 0: halt and power off

0: shut down

0: power-down

(set in /etc/inittab)

*=normal states

1: single-user mode

s,S: single-user

s,S: single-user

for more detail

s,S,1: vendor-dependent

c: block further logins

2: multiuser (no NFS)

1: single-user

www.phildev.net/runlevels.html q: rescan ttys(5) file

3*: share NFS

3*: multiuser

2-5*: multiuser

4: user-defined

kernel security levels:

5: user-defined

5: firmware monitor

-1*: permanently insecure

6: user-defined

2: highly secure

Page 8: Unix Rosetta

? ?

who -r who -r who -r who -r

lsps -a /etc/swap -l

swapinfo

swapinfo

swap -s swapon -s

pstat -s swap -l

systat -swap

free

? ? cpuset

psrset -b

runonmpsched -cintctl

AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux

jfs ufs dg/ux

hfs

efs, xfs

ext2

ext2 ext3

ReiserFS

jfs2 ? admvdisk

ccd jfs (vxfs)

xlv, xvm, xfs

LVM, LVM2

vinum LVM EVMS

file system

/etc/fstab /etc/fstab

/etc/fstab

/etc/fstabdescription mount

lsfs /etc/fstab

(10+)

3: network secure

show runlevel 1sysctl kern.securelevel

/sbin/runlevel

time zone info

/etc/environment ($TZ)

/etc/TIMEZONE

/etc/TIMEZONE

/etc/localtime /usr/lib/

tztab

/usr/lib/locale/TZ/

/usr/share/zoneinfo/

/usr/share/zoneinfo

/etc/TIMEZONE

/etc/localtime

check swap space

admswap -o list -buv

dg_sysreport -p freeswap

cat /proc/meminfo

cat /proc/swaps

bind process to CPU

bindprocessor taskset (sched-utils)

TASK \ OS

"normal" filesystem

ufs/ffs/ufs2 (5+)

vxfs (11.0+)

zfs (7+)

volume-based filesystem geom (5+) VxVM ($) VxVM ($)

zfs (7+)

/etc/filesystems

/etc/checklist

/etc/fstabzfs (7+) (9)

Page 9: Unix Rosetta

smitty vg

? sysadm

vinum vg*; lv*; pv* xlv_mgr e2fsadm

smitty lvm ccdconfig extendfs xvm lvcreate

smitty jfs fsadm lvremove

lvextend

zpool

crfs

/etc/newfs newfs mkfs

mkfs

mke2fs

/etc/mkfs newfs mkreiserfs

mkdosfs

mkfs.*dfsck

fsck

fsck fsck fsck fsck fsckfsck fsdb fsdb fsdb fsdb debugfsfsdb clri clri e2undel

xfs_repair

lmktemp ? ? prealloc mkfile

volume manipulation

geom (5.3+)

smitty storage

gstripe (5.3+)

mkvg; chvg; rmvg

gmirror (5.3+)

mklv; chlv; rmlv graid3 (5.3+)

mkfs; crfs; rmfs

create filesystem

admfilesystem zfs (7+)

file system debugging and recovery

create non-0-length empty file

truncate -s size[K|M|G] filename

dd if=/dev/zero of=filename

Page 10: Unix Rosetta

lmktemp ? ? prealloc mkfile

Finder

pfs_mountd

pfsd

pfs_mount

/SD_CDROM

create non-0-length empty file

dd if=/dev/zero of=filename bs=size[b|k|m|g] \

bs=1024k count=desired

count=desired

mount CDROM

mount -v cdrfs -o ro

mount -t cdrom

mount /cdrom

(see man mediad)

mount /mnt/cdrom

/dev/cd0 /cdrom

/dev/pdsk/disk/cdrom

mount_cd9660

(deb) mount /cdrom

(mounts automatically when CD inserted)

smitty cdrom mount /dev/dsk/cxtydz4

Page 11: Unix Rosetta

Finder

? (manually) ? ? eject eject

mkcd ? ?

mkisofs mkisofs

mountPoint

aclget

? ?

getfacl lsacl chacl getfacl

aclput setfacl chacl setfacl

mount CDROM

mount -orr /dev/cdrom /mnt/cdrom (requires "Rock Ridge extension" patches, 11+)

eject CDROM

camcontrol eject devID

cdcontrol eject [-f device]

create/mount ISO image

nohup pfs_mountd&;

mkisofs (freeware)

mdconfig; mount

nohup pfsd&;

pfs_mount -t iso9660 -x unix pathToIso mountPoint

mount -o loop pathToIso

ACL management

Page 12: Unix Rosetta

acledit? ?

getacl

ls -e setacl

fcstat

? ?

cmgr

?

showmount fcmsutil cxfs-config

fcdlist cxfsmgr

tdutil cxfs_infotdlisttddiag

AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux

/etc/exports

/etc/exports /etc/exports /etc/exports

/etc/exports

/etc/exports /etc/exports/etc/xtab

exportfs -a

exportfs -a

exportfs -a

exportfs -amknfsexp

nfsstatnfsstat nfsstat nfsstat

nfso -as

?

ifconfig -a netstat -i netstat -i

ifconfig -a

ifconfig

no -a ifconfig lanadmin netstat -ia ethtool

netstat -i landiag

ACL management {get,set}

{f,p}mac(see man acl)

Fibre Channel / SAN

mptutil (8.0+)

scsimgr (11.31+)

lscfg -vl fcs0

lsattr -El fcs0

TASK \ OS

NFS share definitions /etc/dfs/

dfstab (11.31+)

NFS share command

/usr/etc/exportfs -a

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

/etc/init.d/nfs-server reload

share (11.31+)

(rh) exportfs -a

shareall (11.31+)

share_nfs (11.31+)

NFS information

/usr/etc/nfsstat

mount | grep nfs

cat /proc/mounts

name resolution order

/etc/netsvc.conf

/etc/netsvc.conf

/etc/host.conf (4-) /etc/

nsswitch.conf

6+: /etc/nsswitch.conf

/etc/nsswitch.conf

/etc/nsswitch.conf (5+)

5.3: /etc/resolv.conf

/etc/resolv.conf

show network interface info

nwmgr (11.31+)

/usr/etc/ifconfig -a

/etc/ifconfig -a

Page 13: Unix Rosetta

netstat -v ifconfig -a lanscan

netstat -in

change IP

ifconfig

sysadm

ifconfig

ifconfig sys_id,

ifconfig resolv.conf,

TIMEZONE},

/etc/config/

mktcpip

reboot ifcfg-eth0(deb) edit

show network interface info

lsattr -E -l entX

ifconfig lanx

smitty chinet

edit /etc/rc.conf (option ifconfig_interfacename)

/sbin/set_parms initial

edit: /etc/{hosts,

edit /etc/NETADDRS

(rh) redhat-config-network

chdev -a netaddr=

(fedora) system-config-network

newIP -I en# (rh) edit: /etc/hosts,

/etc/sysconfig/network,

{static-route.options,

/etc/sysconfig/

ifconfig-1.options};

network-scripts/

/etc/network/interfaces;

Page 14: Unix Rosetta

change IP sysadm

restart

dhcpcd n/a dhcpd dhclient ? proclaim

dhcpcd

dhclient

iptrace

? tcpdump tcpdump

nettl snoop etherfindipreport netfmt tcpdump tcpdump

etherape

netstat -r

netstat -r sysadm

/etc/config/ route

route netstat -r netstat -r

route

/etc/issue ? /etc/issue

/etc/init.d/networking

start DHCP client

ping one packet

ping -c 1 hostname

/usr/etc/ping hostname packetsize 1

ping -s -c 1 hostname

ping -c 1 hostname

ping hostname 10 1 (9) /usr/etc/

ping -c 1 hostname

ping -c 1 hostnameping

hostname -n 1 (10+)

sniff network

wireshark (formerly ethereal)

route definitions

edit /etc/rc.conf (option defaultrouter)

/etc/rc.config.d/netconf

static-route.options

(rh) /etc/sysconfig/network

(rh) /etc/sysconfig/static-routes

(deb) /etc/init.d/network

(deb) /etc/network

telnetd, ftpd banner

/etc/security/login.cfg

/etc/ftpwelcome

/etc/inetd.conf (telnet)

/etc/issue.net (telnet)

Page 15: Unix Rosetta

/etc/issue ? /etc/issue

ntpdate date ?

date

ntpdate timeslave

ntpdate

adjkerntz rdate

ntp netdate

tzsetup

AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux

auditing

audit

? ? auditd

audisp satd

auditpr audevent satconfig

auditselect audomon sat_reduce

lsaudrec audsys

/etc/shadow /etc/shadow /etc/shadow

(10+)

? ? ?

?logins /etc/ttys

telnetd, ftpd banner

/etc/security/login.cfg

/etc/ftpwelcome

/etc/inetd.conf (telnet)

(ftp varies; can use tcp wrappers)

set date/time

(from net: ntp or other)

(obs) timed

TASK \ OS

(2.6+) auditd

/var/log/faillog

sat_interpret

encrypted passwords in

/etc/security/passwd

/etc/master.passwd

/etc/passwd (not Trusted)

/etc/shadow (may vary)

/.secure/etc/passwd (Trusted 9)

/tcb/files/auth/

/etc/shadow (11.22+)

min password length

/etc/security/user

/etc/login.conf

/etc/default/security

/etc/pam.d/system-auth

allow/deny root

/etc/security/user

/etc/default/login

/etc/login.access /etc/

securetty /etc/default/login

/etc/securetty

Page 16: Unix Rosetta

genfilt

? ?

ipfw

/etc/ipf.conf

iptables

ipf ipchains

pfctl ipfwadm

securitylevel

AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux

lslpp -L

? pkginfo

pkg_info versions

lssrc showfiles

showprods

? ?

firewall config

/etc/opt/ipf/ipf.conf

smitty ipsec4

wsm network

(rh) redhat-config-

TASK \ OS

show installed software

rmfn, what (HP-UX 9) (rh) rpm -a -i

ls /var/db/pkg

swlist (HP-UX 10+) (rh) rpm -qa

swm list (11.31+)

(rh) yum list installed

(deb) dselect

(deb) aptitude

(deb) dpkg -l

(gen) ls /var/db/pkg/*

(gen) eix -I

file is in which package

lslpp -w file

pkg_info -W file

swlist -l file | grep file

versions long |

(deb) dpkg --search file

rpm -qif file grep file(deb) apt-file update && apt-file search file

(rh) rpm -qif file

(gen) equery b file

Page 17: Unix Rosetta

? ?

smitty install

sysadm

sysinstall inst

rpm -ihv swinstall swmgr

pkg_add

see FAQ

cc cc

file is in which package

pkg_info -W file

swlist -l file | grep file

(gen) qfile file

add software

n/a (no package system)

swm install (11.31+) (rh) rpm -hiv

/usr/ports make

(rh) yum install pkg

installp -acgxYd /sourcedir [fileset|ALL]

(deb) dselect

(deb) apt-get install pkg

(deb) dpkg -i

precompiled binaries of GPLware and freeware

www-1.ibm.com/servers/ http://www.signal42.com/ftp.freebsd.org/hpux.cs.utah.edufreeware.sgi.comwww.linux.org

aix/products/aixos/linux/ xfree86/4.2.0/binaries/pub/FreeBSD www.sgi.com/funlinux.tucows.com

download.html DGUX-ix86/ www.freebsd.orghpux.connect.org.uknekochan.netsourceforge.net

aixpdslib.seas.ucla.edu/ rpmfind.net

aixpdslib.html (deb) ftp.debian.org

bullfreeware.com (deb) packages.debian.org

(gen)packages.gentoo.org3

(gen)gentoo-portage.com3

(md)easyurpmi.zarb.org

C compiler

/usr/ibmcxx/bin/cc

/usr/sde/default/usr/bin/cc

/usr/bin/cc (gcc)

/opt/softbench/bin/cc ($)

/opt/MIPSpro/

Page 18: Unix Rosetta

gcc gcc

/usr/bin/cc

instfix -ivq

? what /dgux uname -a

oslevel -s

installp

?

inst

swmgr

then rebuild

dump -H

? ?

ldd chatr ldd ldconfig

ldd ldconfig rld ldd

C compiler

/usr/vac/bin/cc ($)/usr/local/gnu/gcc

/usr/bin/clang (9.0+) /bin/cc (9) bin/cc ($)

/usr/bin/cc (10+; not necessarily ANSI; kernel builder only)

show patch level

swm list (11.31+)

versions -b | grep patch (rh) rpm -q

and/or patches

swlist -l product |

uname -R (6.5+)

(rh) cat /proc/version

grep PHsomeString

(rh) cat /etc/redhat-release

(deb) dpkg -s

patch tool dg_sysreport -p patches

csup (6.2+) update (9) apt-get update

smitty update_all

freebsd-update (7+)

swinstall (10+)

apt-get upgrade

(rh) up2date

cvsup or cvs to update,

(rh) yum update

(md) urpmi

configure/show

runtime linking ldd (11+)

Page 19: Unix Rosetta

? ? kldstat kmadmin _RLD_LIST lsmod

$LIBPATH ? $LIBPATH(64-bit)

probevue

?

?=dg_strace ktrace caliper fprof par strace

trace truss prfstat ltrace

syscalls

truss

watch

/etc/profile /etc/default/etc/profile

/usr/lib/skel /etc/PATH /etc/profile

/etc/skel/

? ? /etc/cshrc

?

fortran-2000.com/

ArnaudRecipes/

sharedlib.html

link library path

$LD_LIBRARY_PATH

$LD_LIBRARY_PATH

$LD_LIBRARY_PATH

$LD_LIBRARY_PATH

$RLD*_PATH

/etc/ld.so.conf

$SHLIB_PATH

(32- or 64-bit)

tracing utility

(>=4.20MU06)

caliper ktrace

dtrace (8+) trace (freeware) SystemTap (freeware)

tusc (11+, freeware)

define user defaults

/etc/security/

admuser -o set

/etc/login.conf

/etc/default/login

mkuser.default

/etc/security/

/etc/environment

/etc/MANPATH

/etc/default/*

/etc/profile.d/*

csh global .login

/etc/csh.login

/etc/csh.login

/etc/csh.login

/etc/csh.login

default syslog and messages

/var/adm/syslog

/var/adm/messages

/var/log/messages

/var/adm/syslog/syslog.log

/var/adm/SYSLOG

/var/log/syslog

/var/adm/messages

/var/adm/sulog

/var/adm/sulog

/var/log/messages

Page 20: Unix Rosetta

?

errpt errpt

dmesg sysmon dmesg

send-pr amsyslog

dmesg availmon

eventmond

imdmonitor

syserrpanel

?

sar glance vmstat

netstat gstat gpm procinfo -D

uustat caliper top

default syslog and messages

/var/adm/messages

/var/log/messages

/var/spool/mqueue/syslog

/usr/adm/messages

/var/log/maillog

system error reporting tool

admsyslog -o report

evmshow (11.31+)

smh (11.31+)

(deb) reportbug

sysdiag (9 and early10)

stm/cstm/mstm/xstm (10.20+)

EMS (from support CD)

performance monitoring

ftp://ftp.software.ibm.com/

fstat; nfsstat; systat; vmstat; netstat; uustat; top; iostat;

pcp; dkstat; pmkstat;

aix/tools/perftools/perfpmr sar; osview; gr_osview;

ecstats; linkstat; netstat;

Page 21: Unix Rosetta

?

htop

proctree pstree

? fuser sockstat

lsof

fuser

lsof

fuser

X pop-up ? ?

performance monitoring

vmstat; iostat; sar; filemon; topas; trace; svmon; netpmon;

top; sar; vmstat;

nfsstat; nfsvis; nodevis;

iostat; nfsstat; netstat;

routervis; nstats; top

uustat; Glance($)

ptree (11.31+)

match process to file or port

procfiles (5.2+, files only)

netstat -atup

/usr/dt/bin/dterror.ds

/usr/local/bin/xmessage

/usr/dt/bin/dterror.ds

/usr/bin/X11/xconfirm

/usr/X11R6/bin/xmessage

Wikipedia AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux

FAQs (see also faqs.org)

www.faqs.org/faqs/christtrekker.users.sourceforge.net/www-csc.dg.com/csc/www.freebsd.org/doc/www.faqs.org/faqs/techpubs.sgi.com/library/www.linuxdoc.org/

aix-faq/part1/doc/aux/faq.htmldguxfaqs1.aspen_US.ISO8859-1/books/faqhp/hpux-faq/preamble.htmltpl/cgi-bin/browse.cgi?coll=0650FAQ/Linux-FAQ

preamble.html &db=FAQ

www.debian.org/doc/

FAQ

Page 22: Unix Rosetta

n/a ? ?

(LISTSERV)

n/a ? ?

man pages

n/a ?

FAQs (see also faqs.org)

mailing list

AIX-L@pucc.

lists.freebsd.org/mailman/listinfo

hpux-admin@ www.linumanagers

princeton.edu dutchworks.nl .org

(majordomo)

hp-ux-l www.linux.org/

help/lists.html

mailing list archives

www.marist.

lists.freebsd.org/mailman/listinfo

www.dutch www.linuxmanagers.org/

edu/htbin/wlvindex? works.nl/ pipermail/linuxmanagers

ADSM-L htbin/hpsysadmin lists.debian.org

marc.theaimsgroup.com/

?l=aix-l&r=1&w=2

publib.boulder.ibm.com/

man.freebsd.org

docs.hp.com/en/hpuxman_pages.htmltechpubs.sgi.com/www.linuxmanpages.com/

infocenter/aix/v6r1/index.jsp? hpuxman_pages.htmllibrary/tpl/cgi-bin/browse.cgi?

www.freebsd.org/topic=/com.ibm.aix.doc/doc/ coll=&db=manFedora Core 4:

cgi/man.cgi base/commandsreference.htm linuxcommand.org/

Page 23: Unix Rosetta

n/a ?

user groups n/a ? ?

magazines n/a n/a ?

bsdmag.org

n/a

man.freebsd.org

superman_pages.php

www.tldp.org/docs.html#man

newsgroup(s) and forums

comp.unix.aix

comp.unix.auxcomp.os.aos

comp.unix.bsd

comp.sys.hp.hpux comp.sys.sgi.admin comp.os.linux.* (esp .answers)

groups.google www.thp.uni-duisburg.de/ freebsd.misc

cuaix/cuaix.html forums.freebsd.org

www.userblue.org

www.freebsd.org/connect-community.org

www.debianhelp.org

support.html#userhp-interex.com

encompassus.org

hptechnologyforum.com

forums.itrc.hp.com

HP DSPP

www.hpchronicle.comwww.sgi.com/support/www.linuxjournal.com

daemonnews.orgwww.interex.org/hpuxusrpipeline.htmlwww.linux-mag.com

www.hppro.com www.debianplanet.org

freebsdnews.net

vendor home page

www.developer.ibm.com/www-csc.dg.com/

www.freebsd.orghp.com/go/hpux

www.sgi.com/software/www.linux.org

tech/map/aixrm.html csc/default.asp software.html#IRIX www.debian.org

www-941.ibm.com/ gentoo.org

Page 24: Unix Rosetta

n/a

?

relnotes

grelnotes

? ?

wikis ? ? ? ?

TASK / OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux

vendor home page www.freebsd.orghp.com/go/hpux

collaboration/ www.redhat.com

wiki/display/WikiPtype/Home(SUSE) www.novell.com/linux

vendor docs and patches (see also man pages)

www.redbooks.ibm.com www-csc.dg.com/csc/www.freebsd.org/handbooksoftware.hp.comtechpubs.sgi.comtldp.org

www.ibm.com/ custdocsasp/www.freebsd.org/releases/docs.hp.com www.sgi.com/

developerworks/aix custdocs2.asp? itrc.hp.com support/patch_intro.htmlwww.linuxdoc.org/

techsupport.services. category=069docs.asp support.sgi.comrpmfind.net/linux/RPM

ibm.com/

server/support?

view=pSeries

vendor phone (US)

800-426-7378 (EOL;

unsupported)

925-674-0783 800-633-

3600800-800-4SGI(800-IBM-

SERV)(FreeBSD Mall)

www.ibm.com/developerworks/

wiki.freebsd.org

fedoraproject.org/

wikis/display/WikiPtype/Home wiki/Main_Page (fed)

susewiki.org (SUSE)

Page 25: Unix Rosetta

TASK / OS AIX A/UX DG/UX FreeBSD HP-UX IRIX Linux

Page 26: Unix Rosetta

Mac OS X NCR Unix NetBSD OpenBSD Reliant Solaris SunOS 4

aka MP-RAS

Solaris 1.*

BSD-based

SVR4-based.

sysadm ?

sysadm

scoadmin

solstice

?

admintool

SCO OpenServer

Darwin is the Open Source foundation for Mac OS X, descended from NeXTStep

Derived from 4.4BSD-Lite and 386BSD. This table does not include external packages from /usr/pkg.

Forked from NetBSD in 1995. Security emphasis. This table does not include external packages from /usr/ports.

Fujitsu Siemens. Originally called SINIX. Based on DC/OSX from Pyramid, SINIX

SCO UnixWare 7.0.1& SCO UnixWare 7.1.1 became Caldera Open Unix and later became SCO again. SVR4-based.

Solaris 2.0-2.6, 7, 8, 9, 10, 11

from Siemens, and SVR4. To be replaced with Solaris by 2008.

OpenSolaris (SunOS 5.*)

An open-source version can

be found at illumos.org

NetInfo Manager sushi (obs)

WebSysAdmin

smc (8 01/01+)

Page 27: Unix Rosetta

sysadm ? scoadmin ?

useradd useradd useradd sysadm scoadmin useradd

userdel userdel userdel useradd useradd userdel

usermod userinfo userdel userdel usermod

dscl sysadm usermod usermod getent

user user logins

vipw

groupadd

Mac OS X NCR Unix NetBSD OpenBSD Reliant Solaris SunOS 4

hostinfo prtconf dmesg sysctl hw autoconf -l hwconfig prtconf -v

ioreg -bls devstat more dmesg showconf hw

uname -p

pcidump uname -M arch -k

acpidump mpcntl -I psrinfo -v

z35SysInfo isainfo -v

dmesg

iostat -En

prtfru

NetInfo Manager sushi (obs)

Aqua: System

edit /etc/passwd and create home directory

Preferences / Accounts

niutil (OS X Server)

adduser (interactive)

/usr/sadm/bin/smuser (9+)

SCO OpenServer

dmesg (if you're lucky)

/usr/platform/`uname -i`/

system_profiler

machinetype

/var/run/dmesg.boot

cat /var/run/dmesg.boot

scoadmin/DCU

sbin/prtdiag -v (sun4u and sun4d only)

more /etc/.osm

cat /kern/msgbuf

/usr/lib/X11/testtools/

Page 28: Unix Rosetta

cfgadm -l

? ? ? ? ? hostid hostid

nvram ? eeprom eeprom

in bdm

? eeprom eeprom

or ctrl-a)

devmgmt scsictl reinitdev

mkdev

mktable atactl changedev

dmesg (if you're lucky)

/etc/path_to_inst

system_profiler SPHardwareDataType |

grep "Serial Number:" |

awk '{print $4}'

(at boot stop

(automatic — autdodiskmounter)

(auto-detected)

devfsadm. pre-Solaris 7 HW 11/99, use:

/dev/MKDEV

drvconfig; devlinks; {disks, tapes, ports}

/usr/lib/symsm/bin/hot_add (RDAC)

Page 29: Unix Rosetta

mkdev

? ? ? ? ? ? devfsadm ?

? /dev/rmt/c* /dev/st0 /dev/rct0 /dev/rmt/0 /dev/rst0

grep TAPE

?

/dev/stdin

? ? ?/dev/stdout

/dev/stderr

?

xf86config

X -configure ? hwconfig ?

xf86cfg

Mac OS X NCR Unix NetBSD OpenBSD Reliant Solaris SunOS 4

prtvtoc

disklabel -r

dkpart -l fsname prtvtoc dkinfoDisk Utility disk

mbrlabel

(automatic — autdodiskmounter)

(auto-detected)

/dev/MKDEV

/etc/symsm/rmparams (RDAC)

/dev/[e][n][r]st[0-9]*

/dev/ios0/rstape001

autoconf -1 |

/dev/fd/[012]

/dev/fd/[012]

/dev/fd/[012]

/dev/fd/[012]

kdmconfig (x86)

fbconfig; m64config; (etc.)

XFree86 -configure

SCO OpenServer

pdisk rawDev -dump

disklabel diskName

Page 30: Unix Rosetta

prtvtoc

fdisk

dkpart -l fsname prtvtoc dkinfo

s0

c or d

c 2 c

sysadm disklabel -wr

dksetup divvy

format

fdisk mbrlabel prtvtoc

edvtoc

prtvtoc

mkpartupdatescsilabelit

pdisk fdisk disklabel -i dkpart -e divvy

format

format

fmthard

Mac OS X NCR Unix NetBSD OpenBSD Reliant Solaris SunOS 4

/unix

/netbsd /bsd

/unix

/unix /vmunix

/stand/unix

/stand/unix

disklabel diskName

(non-root partitions are mounted under /Volumes)

/dev/ios0/rsdisk???s7

/dev/1s# (#=0,1,...)sysctl

kern.rawpartition

(???=000-999)

(labels unused)

disklabel -E diskName format

(x86) fdisk

fdisk -e diskName

SCO OpenServer

/mach_kernel

/kernel/genunix

/platform/`uname -m`/

kernel/unix

/platform/`uname -m`/

Page 31: Unix Rosetta

/netbsd /bsd /unix /vmunix

sysdef sysctl sysctl idtune sysdef adb

getconf getconf

sysdef

sysdef -i ndd

adb -k

? ? ? ? ? ?

kextstat ? modstat modstat ? modadmin modinfo ?

kextload ? modload modload ? modadmin modload ?

kextunload ? modunload modunload ? modadmin modunload ?

bless dklayout

fdisk -i

dksetup ?installboot `uname -i`

bootdevice

/etc/rc*

/etc/rc* /etc/rc*

/etc/rc*

/etc/rc*

/mach_kernel

kernel/sparcv9/unix (7+)

/usr/sbin/sysctl

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

launchctl limit

/etc/sysctl.conf

/etc/sysctl.conf

cat /etc/opt/cf.d/stune

/etc/launchd.conf

/etc/conf/cf.d/

cat /etc/opt/cf.d/mtune

cat /etc/system

/usr/kvm/sys/

quicktune.cfg

`arch -k`/conf

nvram bootargs="maxmem=MB"

machine memory (at the "boot" prompt)

/usr/mdec/installboot5installboot /usr/platform/

/usr/kvm/mdec

/usr/mdec/biosboot5 installboot [-hltv]

/lib/fs/ufs/bootblk raw_device_file

protobootblk

/System/Library/

Page 32: Unix Rosetta

/etc/init.d /etc/rc /etc/rc*

/etc/rc* /etc/rc*

/etc/init.d/

/etc/rc*/etc/rc.*

/etc/rc* /etc/rc.d/*

launchctl ? ? ? ? ? ?

halt ? ? ?

? ? ?

0: shutdown 0*: insecure insecure

1*: secure 0*: insecure 1: sys admin 1: sys admin

1: sys admin 1*: secure 2: multiuser

3: share NFS

6: reboot

5: firmware 6: reboot

6: reboot

StartupItems/*,

/Library/StartupItems/,

/etc/netstart

(10+) svcadm

(10+) svcs

svcs (10+)

svcadm (10+)

shutdown -p now

shutdown -hp now

shutdown -i0

shutdown -y -g0 -i5

(set in /etc/inittab)

-1: permanently insecure

-1: permanently

0: power-down

0: firmware monitor

s,S: single-user

s,S: single-user

s,S: single-user

2: highly secure

2*: multiuser

2*: multi-user

2: highly secure

3+4*: user-defined

3*: share NFS

5: firmware update

4*: user-defined

4: user-defined

5: power-down if possible

Page 33: Unix Rosetta

? ? ?

who -r who -r who -r who -r ?

? ? ?

ls -l /var/vm swap -s swapctl -l

swapctl

swap -s

swap -l

swap -s

pstat -svm_stat swap -l pstat -s swap -l swap -l

sar -r systat swap

? ? ? ? ? ? pbind ?

Mac OS X NCR Unix NetBSD OpenBSD Reliant Solaris SunOS 4

ufs

vxfs ffs (was ufs) ffs (was ufs)

vxfs ufs

4.2hfs+ ufs (root) vxfs

?

vdisk

vdisk vdisk ?VxVM ccd

raidsoftraid

NetInfo /etc/vfstab /etc/fstab /etc/fstab

/etc/vfstab /etc/mnttab

/etc/fstab/etc/dktab

(runlevels unused)

sysctl kern.securelevel

sysctl kern.securelevel

/usr/share/zoneinfo/

/usr/lib/locale/TZ

/etc/localtime

/usr/share/zoneinfo/ /usr/share/

lib/zoneinfo//usr/share/

zoneinfo//etc/localtime

SCO OpenServer

htfs (OpenServer 5)

zfs (OpenSolaris)

ccd, raidframe

zfs(10+)

Solstice DiskSuite

VxVM ($)

/etc/vfstab (local)

/etc/default/filesys/etc/vfstab (local)

/etc/rmtab (remote)

Page 34: Unix Rosetta

Disk Utility vxva ccdconfig ccdconfig dkconfig

? ?

pdisk raidctl raidctl dkmirror

diskutil dkconfig bioctl dkmap meta*

(7-, found in

newfs

mkfs

newfs

newfs

mkfs newfs newfs

newfs_hfs makefs newfs mkfs mkfs mkfs

newfs_mdos

fsck

?

fsck fsck

?

fsck fsck

?fsdb fsdb fsdb fsdb fsdbclri clri clri clri

scan_ffs

mkfile mkfile

mkfile mkfile

zpool (10+)

(Solstice DiskSuite;

Solaris Volume Mgr (9+))

/usr/opt/SUNWmd/

sbin/)

/opt/VRTSvxva/bin/vxva

(Veritas Volume Mgr) ($)

divvy (OpenServer 5)

zfs (10u2+)

dd if=/dev/zero

dd if=/dev/zero of=filename bs=1m count=desired

dd if=/dev/zero

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

Page 35: Unix Rosetta

mkfile mkfile

(sparse file)

sysadm

/cdrom

dd if=/dev/zero of=filename bs=1m count=desired

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

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

of=filename bs=1024

of=filename bs=1024

dd if=/dev/zero of=filename bs=1k

count=desired

count=desired

dd if=/dev/zero of=filename bs=1 count=1 seek=desired-1

(automatic — automounter)

mount -F cdfs

mount -t cd9660 -o ro /dev/cd0a path

mount /dev/cd0a path

mount -F hs ...

mount /dev/cd0 path

/etc/init.d/vold start; volcheck or

mount -t hsfs -r

/dev/cdrom/cdromX

mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom

/dev/sr0 /cdrom

diskutil mount /dev/disk1s0

Page 36: Unix Rosetta

?

eject cdrom cdio eject

? ? eject cdrom ?eject cd0 eject cd0

eject -n

hdiutil ? ? ? ?

$DEVICE

mount -t

chmod

? n/a ? ? ?

getfacl

?setfacl

mount -t cd9660 -o ro /dev/cd0a path

mount /dev/cd0a path

mount /dev/cd0 path

diskutil eject /dev/disk1s0

/Volumes/theCDmountpoint

eject /dev/rcd0c

makefs -t cd9660

mkhybrid -o image.iso dir

mkisofs2;DEVICE=`lofiadm -a /absolute_pathname/image.iso` ; mount -F hsfs -o ro

image_file directory;

vnconfig -c vnd0

vnconfig vnd0 image.iso && mount -t cd9660 /dev/vnd0c mountPoint

image_file;

cd9660 /dev/vnd0a mountPoint

fsaclctl (-10.6)

Page 37: Unix Rosetta

? n/a ? ? ? ?

? ? ? ? ?

cfgadm

?

luxadm

stmsboot

mpathadmfcinfo

Mac OS X NCR Unix NetBSD OpenBSD Reliant Solaris SunOS 4

/etc/exports /etc/exports /etc/exports /etc/exportsdfshares dfshares

share share exportfs -a share

exportfs -ashareall shareall shareall

nfsstat ? nfsstat nfsstat ?showmount showmount

?nfsstat nfsstat

NetInfo

tcpconfig (hardcoded

getent into libc)

ifconfig -a ifconfig -a ifconfig -a

ifconfig -A

ifconfig -a ifconfig -a dladm

ifconfig -a

netstat -a ildconfig netstat -in inetstat -in netstat -in ndd

netstat -in etherstat ifconfig -a

(treat as SCSI device)

SCO OpenServer

NetInfo: /exports

/etc/dfs/dfstab

/etc/dfs/dfstab

/etc/dfs/dfstab

Netinfo: /config/SharePoints

/etc/dfs/sharetab

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

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

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

/etc/rc.d/mountd reload

/etc/nfs start

/etc/nsswitch.conf /etc/

resolv.conf/etc/netconfig

/etc/resolv.conf

/etc/nsswitch.conf

/etc/netconfig

/etc/resolv.conf (obsolete)

Network Config. Mgr. (GUI)

Page 38: Unix Rosetta

ifconfig -A cmxinfo netstat -in ifconfig -a

dladm

ifconfig ifconfig sysadm ifconfig

NetInfo tcpconfig

netconfig

(8+) kstat -n hme0 | egrep 'ifspeed|duplex'

System Preferences: Network

edit /etc/rc.conf (ifconfig*)

edit: /etc/{resolv.conf, hosts, hostname.*, netmasks, nodename,

edit /etc/hosts

ifconfig (temp.)

dumpadm.conf, inet/ipnodes, net/*/hosts}

/etc/hostname.*

edit /etc/ifconfig.interface

edit /etc/hostname.driver

vi /etc/default/inet

sys-unconfig; reboot (this is overkill for a simple IP or hostname change)

Page 39: Unix Rosetta

? ? dhclient ? ? ?

(runtime)

(boot time)

packetsize 1

tcpdump tcpdump tcpdump tcpdump tcpdump ? snoop etherfind

netstat -r

tcpconfig netstat -r netstat -r

netstat -r netstat -r

route show route show

/etc/rc.conf /etc/mygate

netstat -r /etc/mygate in.routed forwarding)

netstat -r

route add

/etc/issue /etc/motd

/etc/issue ? n/a

dhclient interface

ifconfig interface dhcp

add dhcp to/etc/hostname.driver

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

/etc/defaultrouter

/etc/defaultrouter

/etc/inet/defaultrouter

/etc/notrouter

(kernel tweak or

/etc/inet/gate*

/etc/gateways

adb to diable

/etc/ftpwelcome

/etc/issue.net

/etc/default/telnetd

Page 40: Unix Rosetta

/etc/issue ? n/a

?

date date

? ?

ntpdate

?Date & Time ntpdate rdate rdate

ntpd ntpd

timed

Mac OS X NCR Unix NetBSD OpenBSD Reliant Solaris SunOS 4

? ? ?

mtree

? ?

audit

auditd

auditreduce

(run nightly) praudit

NetInfo /etc/shadow /etc/shadow /etc/shadow /etc/shadow /etc/passwd

? ? ? ? ? ?

/etc/ttys /etc/ttys /dev/ttytab

/etc/ftpwelcome

~ftp/etc/issue

/etc/ftpwelcome

/etc/ftpwelcome

/etc/default/ftpd

~ftp/etc/msgs/welcome

/etc/issue if enabled via if= in /etc/gettytab

System Preferences/

timed (obs)

SCO OpenServer

/etc/security

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

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

/etc/login.conf

/etc/default/passwd

/etc/ttys (doesn't affect ssh)

/etc/default/login

/etc/default/login

/dev/default/login

/etc/default/login

Page 41: Unix Rosetta

?

ipf pfctl

? ? ?

/etc/ipf.conf /etc/pf.conf

ipfw

Mac OS X NCR Unix NetBSD OpenBSD Reliant Solaris SunOS 4

displaypkg pkginfo -l pkginfo

?

pkginfo sysadm displaypkg prodreg

pkginfo admintool

Applications

? ?

pkg_chk

? ? ?

Aqua / System Prefs /

(9+) /usr/aset/

Sharing / Firewall

/etc/ipf6.conf

pfctl (3.0+)

/etc/pf.conf (3.0+)

SCO OpenServer

ls /Applications

pkg_info pkg_info

swconfig (OpenServer 5)

Apple System Profiler

system_profiler

ls /Network/Applications

/var/sadm/install/contents

/Network/Users/*/

/Users/*/Applications

pkg_info -E file

pkgchk -l -p binaryToCheck

pkg_info -Fe file

Page 42: Unix Rosetta

? ? ? ? ?

installpkg pkgadd pkg_add pkg_add pkgadd custom

pkgadd ?

pkgplus sysadm installpkg

Installer

? ? ?

/usr/bin/cc

/usr/bin/cc /usr/bin/cc /usr/bin/cc

pkg_info -E file

pkgchk -l -p binaryToCheck

drag-and-drop

/usr/pkgsrc && make

/usr/ports && make

/Applications/ Utilities/

SCOadmin (GUI)

fink.sourceforge.net ftp://ftp.netbsd.org/pub/ftp://ftp.openbsd.org/ www.caldera.com/www.sunfreeware.com

NetBSD/packagespub/OpenBSD/<version>/ skunkware www.blastwave.org

darwinports.opendarwin packages

.org ftp://ftp.NetBSD.org/

pub/pkgsrc

darwinports.com

/usr/bin/cc (gcc)

/usr/bin/cc (gcc) /usr/bin/cc

/opt/SUNWspro/

Page 43: Unix Rosetta

(Metaware)

/usr/bin/cc /usr/bin/cc /usr/bin/cc

sw_vers

pkginfo -l

uname -a

swconfig -P

showrev -p showrev -p

uname -a

/etc/release patchadd -p

uname -a

lsbom

pkgadd cvs cvs pkgadd

n/a

pkgplus patch cvsup sysadm

sup

cvsync

patch

pkg_add

otool -L

ldd ldd ldd

ldd ?

crle

ldd

ldconfig nm ldconfig ldd

/usr/bin/cc (gcc)

/usr/bin/cc (gcc) /usr/bin/cc

bin/cc2

cat /kern/version

sysctl -n kern.version

Apple:About This Mac

pkginfo | grep EKS

prodreg (2.6+)

(if you're lucky)

ls /Library/Receipts

cat /etc/release

cat /System/Library/

CoreServices/

SystemVersion.plist

System Preferences / Software Update

pkgadd; pkgrm

installpatch (2.5.1-)

softwareupdate

patchadd (2.6+)

pkgadd; pkgrm

/usr/sadm/bin/smpatch (9+)

Page 44: Unix Rosetta

otool -L ldconfig ldd ? pldd ldd

modinfo

?man dyld

truss

ktrace ktrace truss

truss

truss

tracektruss kdump scstat sotruss

fs_usage kdump systrace dtrace (10+)

/etc/profile /etc/profile

? /etc/profile/etc/profile /etc/skel/* /etc/skel/* /etc/profile /etc/profile

login.conf

/etc/.login ? ? /etc/.login ?

LD_PRELOAD

$DYLD_LIBRARY_PATH

$LD_LIBRARY_PATH

$LD_LIBRARY_PATH

$LD_LIBRARY_PATH

$LD_LIBRARY_PATH

$LD_LIBRARY_PATH

$LD_LIBRARY_PATH

/etc/ld.so.conf

(7+ deprecated in favor of crle)

ktrace; kdump (<=10.4)

dtruss; dtrace (>=10.5)

/usr/bin/defaults

/etc/default/login

/etc/default/login

/etc/default/login

/etc/security/

/etc/login.conf

$HOME/.profile

/etc/security/

/etc/csh.login

/etc/csh.login

/etc/csh.login

/var/log/system.log

/var/adm/streams

/var/log/messages

/var/log/messages

/var/adm/log/messages

/usr/adm/syslog

/var/adm/messages

/var/adm/messages

/var/adm/usererr

/var/adm/log/osmlog

/var/log/syslog

Page 45: Unix Rosetta

/etc/.osm

Console odm dmesg dmesg sysadm

dmesg prtdiag dmesg

errpt sendbug log3

send-pr

sar; pinfo -v; fstat; iostat;

sar

top nfsstat systat; top;

/var/log/system.log

/var/log/messages

/var/log/messages

/var/adm/log/messages

softpanorama.org/Logs/solaris_logs.shtml/var/log/syslog (sendmail)

/var/log/crash.log, dmesg

cat /kern/msgbuf

WebSysAdmin

vm_stat; nfsstat;

iostat; netstat; systat;

vmstat; mpstat; dkstat;

sar; iostat; kstat;

iostat; netstat; vmstat

fs_usage; sc_usage;

modstat; netstat;

vmstat; top; fstat;

netstat; nfsstat; pstat;

sar; netstat; scstat

mpstat; netstat; nfsstat;

nfsstat; pppstat;

prstat; trapstat; vmstat; ptree

Page 46: Unix Rosetta

vmstat;

sar

uustat; top

lsof fuser

fstat

fstat fuser ?

fuser

?sockstat

? xmessage ? ? ?

? ?

iostat; netstat; vmstat

Activity Monitor (10.3+)

smtpstat; snmpstat;

Process Viewer (10.2-)

lsof2

pfiles

osascript -e 'tell application "Finder" to display dialog "msg"'

/usr/X11R6/bin/xmessage

/usr/dt/bin/dterror.ds

Mac OS X NCR Unix NetBSD OpenBSD Reliant SCO UnixWare Solaris SunOS 4

www.darwinfo.org/ www.netbsd.org/

www.openbsd.org/faq pcunix.com/SCOFAQ/

http://opensolaris.org/os/about/faq/www.faqs.org/faqs/

faq.shtml docs www.faqs.org/faqs/Solaris2/comp-sys-sun-faq/

FAQ/

www.macosxhints.com www.faqs.org/faqs/Solaris2/

x86/FAQ/

www.stokely.com/

unix.sysadm.resources/

faqs.sun.html

Page 47: Unix Rosetta

? ?

? ? ?

? ? ?

? ? ?

www.openbsd.org/faq pcunix.com/SCOFAQ/

sunhelp.org

lists.apple.com

www.netbsd.org/www.openbsd.org/ sun-managers@sunmanagerssun-managers@

MailingLists mail.html .org (majordomo)sunmanagers

.ececs.uc.edu

(majordomo)

lists.apple.com

www.netbsd.org/www.openbsd.org/ www.sunmanagers.org/www.latech.

MailingLists mail.html archives.htmledu/sunman.html

www.latech.

edu/sunman.html

developer.apple.com/

man.netbsd.orgwww.openbsd.org/cgi-bin/man.cgiuw714doc.sco.com/en/Navpages/

docs.sun.com/

documentation/Darwin/ app/docs/

Reference/ManPages coll/40.10

Page 48: Unix Rosetta

? ? ?

? ? ? ?

? ? ? ?

?

man.netbsd.orgwww.openbsd.org/cgi-bin/man.cgiuw714doc.sco.com/en/Navpages/

comp.sys.mac.*comp.sys.ncr

comp.unix.bsd.comp.unix.bsd.

de.comp.os.unix.sinixcomp.unix.sco.misc

comp.sys.sun.comp.sys.sun

netbsd.misc openbsd.miscadmin, comp.unix.solaris

admin

lucky.openbsd.misc

www.apple.com/ www.netbsd.org/gallery/

undeadly.org

opensolaris.org/os/community/

usergroups groups.html advocacy/usergroups/ug-leaders/

www.omnigroup.com/

developer/mailinglists

www.themacintoshguy.

com/lists/X.html

www.macworld.com

www.daemonnews.comundeadly.org

www.sunworld.com

www.stepwise.com sun.com/sun-on-net/itworld

www.apple.com

ncr.com

www.netbsd.orgwww.openbsd.orgwww.fujistu-siemens.com

www.caldera.com/sun.com/solaris

teradata.com products/openunixsun.com/bigadmin

sun.com/developers/support

Page 49: Unix Rosetta

?

?

? ? ?(Germany)

? ?-5282

? ? ? ? ?

Mac OS X NCR Unix NetBSD OpenBSD Reliant Solaris SunOS 4

www.apple.com www.netbsd.orgwww.openbsd.orgwww.fujistu-siemens.com

soldc.sun.com

access1.sun.com

opensolaris.org

developer.apple.com/www.info.ncr.com/ service.fujitsu-siemens

www.caldera.com/support

docs.sun.com

darwin eCRM- www.netbsd.org/www.openbsd.org/.com sunsolve.sun.com

www.info.apple.com/OSHW-BrowseSecurity docum.html its.siemens.com/lobs/its/

support/downloads.html By-Results.cfm its_sc/eks_en/unix_en.htm

www.apple.com/support/?pl=&PID=&title= www.openbsd.org/

security/security.html&release= errata.html

&pl=Software

%20-%20 www.openbsd.org/

MP-RAS&sbrn=3 security.html

1-800-MY-APPLE

800-USA-4SUN

wiki.osx86project.org www.openbsd-wiki.org

wikis.sun.com

www.big-up.org/menu/wiki/doku.php

SCO OpenServer

Page 50: Unix Rosetta

Mac OS X NCR Unix NetBSD OpenBSD Reliant Solaris SunOS 4SCO OpenServer

Page 51: Unix Rosetta

Tru64 Ultrix UNICOS OS / TASK

OS notes(4)= 4.0F/G

checklist

?

checklist

xmenu

(Digital Unix, OSF/1)

An early DEC Unix, superceded by Digital Unix (now Tru64).

Cray Inc., formed from the March 2000 merger of Tera Computer Company and Cray Research

(5)= 5.0A

administrative GUI

(5) sysman /etc/install/install

Page 52: Unix Rosetta

?

useradd adduser xadmin

adduser removeuser udbgen

userdel udbrstrict

removeuser nu scripts

dxaccounts

Tru64 Ultrix UNICOS

dia -R full machid

vmstat -P getconf

uname -a

devices

psrinfo

pset_info

sys_check

administrative GUI

managing users

OS / TASK

dmesg (if you're lucky)

list hardware configuration

hwmgr -get category

(5) hwmgr -show

/usr/bin/X11/dxsysinfo

Page 53: Unix Rosetta

? ?

? ?

show/set

values

?

dmesg (if you're lucky)

list hardware configuration

consvar -g sys_serial_num

unique id useful for licensing

(4.0D+) consvar EEPROM/

NVRAM

(3.2.*) scu scan edt

/dev/MAKEDEV

add device without reboot

(4.0) scu scan edt; disklabel -rw rzXX label (for disks)

(5.x) dsfmgr -k; disklabel -rw dskn auto

hwmgr -scan scsi

Page 54: Unix Rosetta

?

? ? ?

tpmnt tape device

? ? ?

? ? ?

Tru64 Ultrix UNICOS

disklabel -r chpt -q ?

/dev/MAKEDEV

add device without reboot

remove device

(5.x) /dev/ntape /dev/tape

/dev/nrmtXh where n=non-rewinding, X a number, h=density

stdin/ stdout/ stderr

X kvm config

OS / TASK

read a disk label

Page 55: Unix Rosetta

disklabel -r chpt -q ?

c c s7

disklabel -rw chpt -a /etc/labelit

disklabel -e chpt -p

Tru64 Ultrix UNICOS

/vmunix /vmunix /unicos kernel

read a disk label

whole disk in partition

label a disk

/etc/install/install

partition a disk

OS / TASK

Page 56: Unix Rosetta

/vmunix /vmunix /unicos kernel

adb

?

sysconfig kdb

? ? ?

? ? ?

? ? ?

? ? ?

? ?

/etc/rc* ?

dxkerneltuner

show/set kernel parameters

limit physical memory

loaded kernel modules

load module

unload module

(4.x+) disklabel -rw -t [ufs|advfs]

make disk bootable

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

startup scripts

Page 57: Unix Rosetta

/etc/rc* ?

? ? ?

? ? ?

?

3: multi-user 3: multi-user see

6: reboot 6: reboot

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

startup scripts

start/ stop/ config services

shutdown (& power off if possible)

0: shut down

0: shut down run levels 1

1: single user

1: single user

*=normal states

2: multi-user, no NFS

2: multi-user, no NFS

for more detail

www.phildev.net/runlevels.html

Page 58: Unix Rosetta

?

who -r ? who -r

? ?

swapon -s ?

runon

? ?pset_infopsradm

Tru64 Ultrix UNICOS

ufs

NC1FS

C2FS

Advfs

N/A ?LSM

/etc/fstab

/etc/fstab /etc/fstab

file system

description

show runlevel 1

/etc/zoneinfo

time zone info

/etc/swapper

check swap space

bind process to CPU

pset_create

OS / TASK

(4) ufs

"normal" filesystem

(5) AdvFS

volume-based filesystem

AdvFS: /etc/fdmns

Page 59: Unix Rosetta

?

newfs bb

mkfs mkfs

labelit

? ? ?

? ?

AdvFS: mkfdmn, mkfset, addvol, showfdmn

/etc/install/install

volume manipulation

LSM: volassist or volmake, volume, volplex and volsd, volprint

AdvFS: mkfdmn

create filesystemUFS: newfs

MFS: mfs

file system debugging and recovery

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

create non-0-length empty file

Page 60: Unix Rosetta

? ?

? ?

/mnt

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

create non-0-length empty file

mount /dev/disk/cdromXa

mount CDROM

mount -t cdfs -o noversion /dev/disk/cdrom3c /cdrom

Page 61: Unix Rosetta

? ?

? ? ?

? ? ?

? ? ?

mount CDROM

eject CDROM

create/mount ISO image

ACL management

Page 62: Unix Rosetta

? ? ?

? ? ?

Tru64 Ultrix UNICOS

/etc/exports ? /etc/exports

? exportfs -a

? ? ?

?

ifconfig -a

ifconfig

ifconfig -a

netstat -in netstat -in

ACL management

Fibre Channel / SAN

OS / TASK

NFS share definitions

/sbin/init.d/nfs start; /sbin/init.d/nfsmount start

NFS share command

NFS information

/etc/nsswitch.conf /etc/

hosts.usenamed

name resolution order/etc/

svc.conf (obsolete)

show network interface info

hwmgr get attribute

Page 63: Unix Rosetta

ifconfig

?

netconfig

change IP

ifconfig

netconfig initif

show network interface info

-category network

(4.x) netsetup

(5.x) sysman net_wizard or

/etc/install/install

Page 64: Unix Rosetta

? change IP

? ?

ping -c 1 ?

tcpdump ? ?

/etc/routes ? netstat -r

/etc/issue ?

/etc/issue

dhcpconf interface start

start DHCP client

ping hostname

ping one packet

sniff network

route definitions

telnetd, ftpd banner

Page 65: Unix Rosetta

/etc/issue ?

/etc/motd

ntpdate rdate ?

Tru64 Ultrix UNICOS

auditing

/etc/shadow /etc/udb

? ? ?

logins

telnetd, ftpd banner

set date/time

(from net: ntp or other)

OS / TASK

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

encrypted passwords in

min password length

/etc/securettys

/etc/securettys

udbrestrict -R

allow/deny root

Page 66: Unix Rosetta

? ? ?

Tru64 Ultrix UNICOS

setld -i ? ?

? ? ?

firewall config

OS / TASK

show installed software

file is in which package

Page 67: Unix Rosetta

? ? ?

setld -l ? ?

? ?

/usr/bin/cc /usr/bin/cc

file is in which package

add software

www.tru64unix.compaq.com/

precompiled binaries of GPLware and freeware

demos

tpegsrvr.zk3.dec.com/

freeware/tbl_packages.html

/opt/ctl/bin/cc C compiler

Page 68: Unix Rosetta

/usr/bin/cc /usr/bin/cc

? ?sizer -vB

setld -i

? ?

dupatch

odump -Dl

? ?

ldd

/opt/ctl/bin/cc C compiler

dupatch -track -type kit

show patch level

dupatch -track -type patch

and/or patches

setld -i | grep patchname

patch tool

configure/show

runtime linking

Page 69: Unix Rosetta

? ?

? $LDPATH

trace

?

cdbx

truss jumptrace

/etc/skel /etc/skel udbgen

/etc/profile /etc/profile nu scripts

? /etc/login

fortran-2000.com/

ArnaudRecipes/

sharedlib.html

$LD_LIBRARY_PATH

link library path

tracing utility

define user defaults

/etc/csh.login

csh global .login

(4.x+) /var/adm/messages

/var/adm/messages

/usr/adm/messages

default syslog and messages

/var/adm/syslog.dated (kern, auth, daemon, lpr, syslog, user)

/var/adm/syslog.dated (kern, auth, daemon, lpr, syslog, user)

Page 70: Unix Rosetta

uerf errpt

monitor

/usr/adm/messages

default syslog and messages

/var/adm/binary.errlog

/var/adm/binary.errlog

(4.x) uerf; dia (DECevent)

system error reporting tool

(5.x) (System errors) EVM (evmget; evmshow)

(Hardware errors) dia; ca (Compqaq analyze)

iostat; nfsstat; vmstat

iostat; nfsstat; vmstat

sar; xsar; tsar; xsam;

performance monitoring

/usr/opt/sv4b/bin/sar

/usr/opt/sv4b/bin/sar

xscc; xns; xnetmon;

nfsstat; perfmon; ja;

Page 71: Unix Rosetta

sam; csam

? ? ?

? ? ? X pop-up

Wikipedia

performance monitoring

mppview; xmppview;

match process to file or port

Tru64 Ultrix UNICOS

www2.tru64.org/faq/www.supelec.fr/decus/www.spikynorman

FAQs (see also faqs.org)

tru64_faq.phpfaq/faq-ultrix.html.net

Page 73: Unix Rosetta

? ? ?

? user groups

? ? magazines

comp.sys.dec, comp.unix.tru64

comp.unix.ultrixcomp.unix.cray

newsgroup(s) and forums

groups.google

Encompass/DECUS

www.cug.org

www.excray.com

www.tru64.org

www.tru64unixwww.supelec.fr/decus/

www.cray.comvendor home page

.compaq.comfaq/faq-ultrix.html

Page 74: Unix Rosetta

N/A (EOL)

?

? ? ? wikis

Tru64

Ultrix UNICOS

www.cray.comvendor home page

www.tru64unix www.cray.com/

vendor docs and patches (see also man pages)

.compaq.com/docs craydoc

800-344-4825

800-344-4825

vendor phone (US)

OS \ TASK

(Digital Unix,

OSF/1)

Page 75: Unix Rosetta

(4) 4.0F/G

Ultrix UNICOS OS \ TASK

(5) 5.0A