RosettaStone For UNIX
RosettaStone For UNIX
A Sysadmin's Unixersal Translator (ROSETTA STONE) OR What do they call that in this world?
OPERATING SYSTEM Contributions and corrections gratefully accepted. Please help us fill in the blanks. New "activities" 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
Linux
ACTIVITY
list hardware
configuration
AIX
lscfg
lsattr
DG-UX
FreeBSD
smit
smitty
sysadm
lspv -l
admpdisk -o list
admvdisk -o list
whole disk in
partition
N/A
label a disk
mkvg
setboot
bootadmin (at boot PROM)
stm
nvram
hwclock
/stand/sysinstall
sam
disklabel -r
diskinfo
pvdisplay
prtvtoc
fdisk
disklabel -wr
sysinstall
fdisk
sysinstall
fdisk -l
dvhtool
dmesg
cat /kern/msgbuf
checklist
administrative GUI
read a disk label
whole disk in
partition
disklabel -wr
disklabel -wr
format
format
disklabel -wr
chpt -a
label a disk
format
disklabel -e
chpt -p
partition a disk
pstat -s
swapon -s
/vmunix
/vmunix
kernel
cat /etc/system
/usr/sbin/ndd
sysconfig
dxkerneltuner
show/set kernel
parameters
/sbin/runlevel
who -r
insmod
who -r
(3.2.*) scu scan edt
(4.0) scsimgr -scan_bus
bus=BUSNUM; disklabel
-rw rzXX label (for disks)
show runlevel
cfdisk
fdisk
e2label
fx -x
fdisk
disklabel
swapinfo
swap -s
swap -l
cat /proc/meminfo
free
swapctl
kernel
/unix
/dgux
/kernel
/hpux (9)
/stand/vmunix (10+)
/unix
/boot/vmlinuz
/netbsd
/boot/kernel.conf
sam
sysdef
kmtune (11+)
systune
/proc/*
/proc/sys/*
startup scripts
/etc/rc*
/etc/rc*
/etc/rc*
/usr/local/etc/rc.d/
/etc/rc* (9)
/sbin/rc* (10+)
/etc/rc*
"normal"
filesystem
jfs
dg/ux
ufs
hfs
efs, xfs
ext2
volume based
filesystem
jfs
ccd
vinum
jfs (vxfs)
file system
description
/etc/filesystems
/etc/fstab
/etc/checklist
(9)
/etc/fstab
(10+)
/etc/fstab
volume
manipulation
smitty vg
smitty lvm
smitty jfs
vinum
xlv_mgr
xvm
prealloc
mkfile
create non-0-length
empty file
show/set
EEPROM/NVRAM
values
consvar (DU
4.0D+)
sam
/etc/fstab
list hardware
configuration
d (on i386)
c (everything else)
chpt -q
admpdisk
who -r
eeprom
ACTIVITY
disklabel -r
lsps -a
openprom (on
OpenFirmware
architectures)
Ultrix
dkinfo
crfs
show runlevel
dmesg
SunOS
/usr/samples/kernel/vmtune
(installed with the
bos.adt.samples fileset)
/usr/sbin/no
(network-related)
who -r
Solaris
prtconf -v
/usr/platform/`uname
-i`/sbin/prtdiag -v
psrinfo -v
isainfo -v
dmesg
solstice
admintool
partition a disk
show/set kernel
parameters
OpenBSD
disklabel -r
10
pvcreate
NetBSD
hinv
c
admpdisk
IRIX
ioscan
dmesg (if you're lucky)
adb
stm (from the SupportPlus
CDROM)
show/set
EEPROM/NVRAM
values
administrative GUI
HP-UX
/etc/fstab
format
fdisk -e OR disklabel -E
fmthard
swap -s
swapctl
swap -l
/kernel/genunix
/platform/`uname -m`/
/bsd
kernel/unix
/platform/`uname -m`/
kernel/sparcv9/unix (7+)
/etc/boot.conf
/etc/rc*
/etc/rc*
/etc/rc*
/etc/rc*
/sbin/rc*
/etc/rc*
startup scripts
ufs
4.2
ufs
ufs
"normal"
filesystem
ccd, raidframe
ccd
Solstice DiskSuite
Veritas Volume Manager
/etc/fstab
/etc/fstab
/etc/vfstab
Advfs
LSM
/etc/fstab
/etc/fstab
volume based
filesystem
/etc/fstab
file system
description
/opt/VRTSvxva/bin/vxva
(Veritas)
/usr/opt/SUNWmd/
sbin/metatool
(DiskSuite)
volume
manipulation
dd if=/dev/zero
of=filename bs=1024k
count=desired
mkfile
dd if=/dev/zero of=filename
bs=1024k count=desired
create non-0-length
empty file
/etc/exports
/etc/dfs/dfstab
/etc/exports
/etc/exports
NFS share
definitions
share
shareall
exportfs -a
/sbin/init.d/nfs start;
/sbin/init.d/nfsmount start
NFS share
command
NFS share
definitions
/etc/exports
/etc/exports
/etc/exports
/etc/exports
/etc/exports
/etc/exports
NFS share
command
/usr/sbin/exportfs -a
exportfs -a
exportfs
exportfs -a
mount CDROM
mount /cdrom
smitty cdrom
encrypted
passwords in
/etc/security/passwd
/etc/shadow
/etc/master.passwd
/etc/master.passwd (/etc/pwd.db)
/etc/master.passwd
(/etc/pwd.db)
/etc/shadow
allow/deny root
logins
/etc/security/user
/etc/default/login
/etc/login.access;
/etc/ttys
/etc/securetty
/etc/default/login
/etc/securetty
/etc/ttys
/etc/ttys
/etc/default/login
/etc/securettys
allow/deny root
logins
/var/adm/SYSLOG
/var/log/syslog
/var/log/messages
/var/log/messages
/var/log/messages
/var/log/syslog
/var/adm/syslog
default syslog
dmesg
prtdiag
default syslog
/var/adm/syslog
system error
reporting tool
errpt
show installed
software
lslpp -L
/etc/init.d/vold start;
volcheck or
mount -F hsfs /dev/sr0
/cdrom
pfs_mountd
pfsd
pfs_mount
mount CDROM
/etc/shadow
encrypted
passwords in
/var/log/messages
/var/adm/syslog/syslog.log
admsyslog -o report
dmesg
dmesg
sysdiag (9 and early10)
stm/cstm/mstm/xstm
(10.20+)
sysmon
dmesg
dmesg
cat /kern/msgbuf
pkginfo
pkg_info
versions -Ib
(rh) rpm -a -i
(rh) rpm -qa
(deb) dselect
(deb) dpkg -l
pkginfo
pkginfo
pkginfo
prodreg
admintool
setld -i
show installed
software
/stand/sysinstall
/usr/ports make
swinstall
inst
swmgr
pkg_add
/usr/pkgsrc && make
pkg_add
/usr/ports && make
pkgadd
setld -l
add software
(rh) rpm -q
(deb) dpkg -s
cat /kern/version
dupatch
setld -i | grep patchname
cvs
cvs/CTM
setld -i
dupatch
patch tool
ktrace
ktrace
ptrace
showrev -p
prodreg (2.6+)
installpatch (2.5.1-)
patchadd (2.6+)
pkgadd
truss
sotruss
trace
tracing utility
smitty install_all
add software
/usr/lib/instl/sm_inst
installp_cmd -a -d 'device'
'-c' '-N' '-g' '-X'
instfix -ivq
patch tool
installp
smitty update_all
cvsup
update (9)
swinstall (10+)
inst
tracing utility
trace
syscalls
ktrace
trace (freeware)
tusc (11+, freeware)
par
strace
dg_sysreport -p patches
dmesg
trace
uerf
uerf
system error
reporting tool
ifconfig -a
no -a
change network
address
ping one packet
ping -c 1 hostname
ping -s -c 1 hostname
ifconfig -A
lanadmin
landiag
lanscan
netstat -in
ifconfig -a
netstat -ia
/sbin/set_parms initial
ping -c 1 hostname
ping -c 1 hostname
ping -c 1 hostname
/etc/rc.config.d/netconf
/etc/config/
static-route.options
(rh) /etc/sysconfig/network
(rh) /etc/sysconfig/static-routes
(deb) /etc/init.d/network
(deb) /etc/network
/opt/softbench/bin/cc ($)
/bin/cc (9)
/usr/bin/cc (10+; not ANSI;
kernel builder only)
/opt/MIPSpro/
bin/cc ($)
/usr/bin/cc
gcc
/usr/bin/cc
http://hpux.cae.wisc.edu/
freeware.sgi.com
www.sgi.com/fun
http://www.linux.org/
linux.tucows.com
ftp://ftp.netbsd.org/pub/NetBSD/packages/
www.linux.org/
help/lists.html
www.netbsd.org/
MailingLists
www.openbsd.org/
mail.html
alpha-osf-man
sun-managers@sunmanagers sun-managers@sunmanagers
[email protected]
.ececs.uc.edu (majordomo) .ececs.uc.edu (majordomo)
(majordomo)
decstation-man
[email protected]
(majordomo)
mailing list
www.netbsd.org/
MailingLists
www.openbsd.org/
mail.html
www.latech.
edu/sunman.html
www.latech.
edu/sunman.html
www-archive.
ornl.gov:8000/
www-archive.
ornl. gov:8000/
mailing list
archives
comp.unix.bsd.
netbsd.misc
comp.unix.bsd.
openbsd.misc
comp.sys.sun.
admin, comp.unix.solaris
comp.sys.sun
admin
comp.sys.dec,
comp.unix.osf.osf1
comp.unix.ultrix
newsgroup(s)
route definitions
C compiler
/usr/ibmcxx/bin/cc
precompiled
binaries of
GPLware and
freeware
aixpdslib.seas.ucla.edu/
aixpdslib.html
www-frec.bull.com/
docs/download.htm
mailing list
AIX-L@pucc.
princeton.edu
(LISTSERV)
mailing list
archives
www.marist.
edu/htbin/wlvindex?
ADSM-L
newsgroup(s)
comp.unix.aix
ftp://ftp.freebsd.org/.0/
FreeBSD/ports/i386/
packages-4.0-release
www.freebsd.org/
handbook/
eresources.html
#ERESOURCES-MAIL
www.freebsd.
org/ search.html#
mailinglists
comp.unix.bsd.
freebsd.misc
user groups
magazines
vendor home page
www.dg.com/products/
http://www.rs6000.ibm.com/
html/dg_ux.html
http://techsupport.services.
ibm.com/support/rs6000
AIX
hpux-admin@
dutchworks.nl
(majordomo)
comp.sys.hp.hpux
800-633-3600
DG-UX
FreeBSD
ifconfig -a
www.dutch
works.nl/
htbin/hpsysadmin
comp.sys.sgi.admin
http://www.interex.org/
http://www.daemonnews.com/ http://www.hpchronicle.com/
www.unixsolutions.hp.com/ www.sgi.com/software/
http://www.freebsd.org/
products/hpux/
software.html#IRIX
techpubs.sgi.com
www.freebsd.org/handbook
docs.hp.com
www.sgi.com/
www.freebsd.org/releases/
itrc.hp.com
support/patch_intro.html
4.0R/errata.html
support.sgi.com
AIX: 800-237-5511
vendor phone (US) IBM hardware:
800-426-7378
ACTIVITY
/sbin/ifconfig
HP-UX
ping -c 1 hostname
ifconfig -A
ndd
ifconfig -a
netstat -in
ifconfig -a
netstat -in
show network
interface info
edit /etc/hostname.driver
netsetup
change IP
ping -c 1 hostname
/etc/defaultrouter
/etc/routes
route definitions
/usr/bin/cc
C compiler
www.tru64unix.compaq.com/
demos
precompiled
binaries of
GPLware and
freeware
/etc/notrouter
/usr/bin/cc
/opt/SUNWspro/
bin/cc ($)
/usr/bin/cc
http://www.sunfreeware.com/
http://www.daemonnews.com/
user groups
magazines
www.supelec.fr/decus/
http://www.unix.digital.com/
vendor home page
faq/faq-ultrix.html
www.sunworld.com/
http://www.netbsd.org/
http://www.openbsd.org/ http://www.sun.com/solaris/
www.netbsd.org/
Security
www.openbsd.org/
errata.html
800-800-4SGI
IRIX
/usr/sbin/ping -c 1
docs.sun.com
sunsolve.sun.com
800-USA-4SUN
Linux
NetBSD
OpenBSD
Solaris
vendor phone
SunOS
Ultrix
ACTIVITY