You are on page 1of 36

2000 UNIXguide.net, All Rights Reserved.

Hermelito Go (Last Update: Wednesday,


Directory Mappings
Root filesystem
Home Directory

Sample configuration files


User Accounts
Password files
Groups file
Maximum # of user ID
Allow/Deny remote login
User nobody's id #
Group nobody's id #

Recover root password


Create new user
Delete user
List users
Modify user account
General Commands
Unique host ID
Administrator

Performance monitor
System activity reporter
Virtual Memory statistics

I/O statistics
Error logs
Physical RAM
Shared Memory
Process Data Space
Swap device
Swap file type
Display swap size
Activate Swap
Printers
Printer Queues
Stop LP
Start LP

Submit print jobs

LP statistics

Remove print jobs


Add printer queue
Remove Printer queue
Make default printer
TCP/IP

Network IP configuration
Hosts IP addresses
Name service switch
Network parameters
Routing daemon
NIC Configurations
Secondary IP Address
Login prompt

Increase the # of pseudo-terminals


Maximum # of ptys
Remote Shell
YP/NIS service binder
System Files
NFS exported
NFS Client mounted directories

Max File System

Max File Size


Max # File Descriptors
DISK/LVM Commands
Filesystem table
Free disk blocks
Device listing

Disk information
Disk Label
LVM Concepts

Journal Filesystem type


Default volume group
Display volume group
Modify physical volume
Prepare physical disk

List physical volume


Remove disk from volume group
Move logical volumes to another physical volumes
Create volume group
Remove volume group

Volume group availability


Restore volume group
Exports volume group
Imports volume group
Volume group listing
Change logical volume characteristics
List logical volume
Make logical volume
Extend logical volume
Reduce logical volume
Remove logical volume
Prepare boot volumes
Remove boot volumes
Extend File system
Reduce/Split mirrors
Merge mirrors
Create mirrors
Add mirrors
Create striped volumes
System recovery tape
Backup
Restore
MISC
Startup script
Kernel

Kernel Parameters

Reconfigure the kernel


List modules
Load module
Unload module
Initialize system
Physical RAM
Kernel Bits
Crash utility
Trace System Calls
Machine model
OS Level
Run Level
Core dump files

Boot single user

Maintenance mode
Interrupt Key
Return to console
Timezone Management
NTP Daemon
Software
Install Software
Uninstall software

List installed software

Verify installed software


List all files
List installed patches
Package owner
SW Directory
Devices
Devices

Install devices for attached peripherals


Remove device
Device drivers
CPU
List Terminal

Diagnostics
Whole Disk
CDROM
CDROM file type
Rewinding tape drive
Non-rewinding tape drive
Floppy drive

Links
FAQ
Online Manual
Technical Support
Phone Number
Free Software
Certification

hts Reserved. Hermelito Go (Last Update: Wednesday, 07-Dec-2005 11:11:32 PST )


AIX
/ {/dev/hd4}
/home {/dev/hd1}
/tmp {/dev/hd3}
/usr {/dev/hd2}
/var {/dev/hd9var}
AIX
/etc/passwd
/etc/security/passwd
/etc/group
/etc/security/group
4294967295
/etc/security/user
{rlogin=true}
4294967294
4294967294
boot from CD/Tape
Installation/Maintenance
Start Limited Shell
getrootfs hdisk0
vi /etc/security/passwd

mkuser
rmuser
lsuser -f ALL
chuser -a
AIX
hostid
smit
top
monitor
sar
vmstat

iostat
alog -o -t boot
errpt
1TB
2.75GB
2GB
/dev/hd6
/etc/swapspaces
lsps -a
swapon -a
AIX
/etc/qconfig
stopsrc -s lpd
startsrc -s lpd
enq
lp
lpr
qprt
enq -A
lpq
lpstat
qchk
cancel
lprm
qcan
enq -x
smit mkpq
smit rmpq
export LPDEST="pq"
AIX

lsattr -E -l inet0
/etc/hosts
/etc/netsvc.conf
no -a
gated
ifconfig -a
ifconfig en0 alias IP
HERALD @
/etc/security/login.cfg
odmget -q "attribute=num and uniquetype=pty/pty/pty" PdAt | sed "s/0-64/0-512/" |

odmchange -q "attribute=num and uniquetype=pty/pty/pty" -o PdAt


chdev -l pty0 -anum=256 -P
reboot

512
remsh
rsh
/usr/lib/netsvc/yp/ypbind
AIX
/etc/exports
/etc/xtab

128 GB

64 GB
64 K
AIX
/etc/filesystems
df -k
lsdev -C

bootinfo -s hdisk#
lspv -l hdisk#
Partition
Volume
Volume group

jfs
/dev/rootvg
lsvg -l rootvg
chpv
mkdev -c disk -l hdisk#

lspv
reducevg
migratepv
mkvg

chvg
varyonvg
varyoffvg
exportvg
importvg
lsvg
chlv
lslv
mklv
extendlv

AIX reduce LV
rmlv
bootlist -m normal

chfs -a size=#/mt
rmlvcopy
mklv -c 2
mklvcopy lv 2
mklv -u 3 -S 64K
mksysb -i /dev/rmt0
savevg -i rootvg
restvg
AIX
/etc/rc
/usr/lib/boot/unix_up

lsattr -E -l sys0

chdev -l sys0 -a
genkex

install_assist
bootinfo -r
bootinfo -K
crash
syscalls
uname -m
bootinfo -m
oslevel
who -r
/var/adm/ras
Key on service mode/F4
Boot from CD/Tape
Select Maintenance
Limited function Shell

/etc/environment
/etc/profile
/etc/ntp.conf
startsrc -s xntpd
AIX
installp -a
installp -u

lslpp -L all

lppchk -v
lslpp -f fileset
instfix -i
lslpp -w path
/usr/lpp
AIX
/dev

cfgmgr -v
rmdev -l
lscfg
lsdev -Cc processor
lsdev -Cc tty

diag
/dev/hdisk#
/dev/cd0
cdrfs
/dev/rmt0
/dev/rmt0.1
/dev/rfd0
AIX

AIX-FAQ
AIX 5.3 Docs
p5 TechSupport
1-800-CALL-AIX

Public Domain Software Library


www.ibm.com

FreeBSD

/ {/dev/ad0s1a}

/usr {/dev/ad0s1f}
/var {/dev/ad0s1e}
FreeBSD

/etc/passwd
/etc/master.passwd
/etc/group
65535

/etc/ttys
{secure}
65534
65534
ok boot -s
passwd root

adduser
rmuser

FreeBSD

top
sa
vmstat

iostat
dmesg

/dev/ad0s1b
swap
swapinfo
swapon -a
FreeBSD
/var/spool/print
lpd

lp

lpq
cancel
lprm

/etc/rc.conf
/etc/hosts
/etc/host.conf
sysctl
routed
ifconfig -a
ifconfig xl0 alias IP

rsh
/usr/sbin/ypbind
FreeBSD
/etc/exports

FreeBSD
/etc/fstab
df -k

fdisk -v ad0
disklabel ad0
sub disk
Volume
Plex

vinum ld
vinum move -f drive object

vinum lv

vinum rm vol

vinum mirror drive


vinum stripe drive
vinum saveconfig
FreeBSD

/etc/rc
/kernel

sysctl -a
cd /sys/i386/conf
vi KERNEL
config KERNEL
cd ../../compile/KERNEL
make depend
make

make install

kldstat
kldload
kldunload
/stand/sysinstall
sysctl hw.physmem
crash
truss
uname -m
uname -r

ok boot -s

ok boot -as

/etc/localtime
/etc/rc.conf {xntpd_enable="YES"}
/etc/rc.network
pkg_add
pkg_delete

pkg_info -a

pkg_info -L package

/var/db/pkg
FreeBSD
/dev

/dev/MAKEDEV

sysctl hw.model

pciconf -l
/dev/ad0s1c
/dev/acd0c
cd9660
/dev/rwt0d
/dev/nrwt0d
/dev/fd0
FreeBSD

FreeBSD FAQ
FreeBSD Hand Book

FreeBSD Primary Site

HP-UX
/ {/dev/vg00/lvol1}
/home {/dev/vg00/lvol4}
/tmp {/dev/vg00/lvol6}
/usr {/dev/vg00/lvol7}
/var {/dev/vg00/lvol8}
/usr/newconfig
HP-UX
/etc/passwd
/tcb/files/auth/r/root
/etc/group
/etc/logingroup
2147483647
/etc/securetty
{console}
-2
-2(nogroup)
>boot
Interact with IPL ? Y
ISL>hpux -iS
passwd root

useradd
userdel
logins
usermod
HP-UX
uname -i
sam
top
glance
sar
vmstat

iostat
dmesg
4TB
8TB
4GB
/dev/vg00/lvol2
swap
swapinfo -a
swapon -a
HP-UX
/etc/lp/interface/*
lpshut
lpsched

lp

lpstat

cancel
lpadmin -p pq
lpadmin -x pq
lpadmin -d pq
HP-UX

/etc/rc.config.d/netconf
/etc/hosts
/etc/nsswitch.conf
ndd -h
gated
lanscan -v
ifconfig lan0:1 IP
telnetd -b /etc/issue
rebuild your kernel with these new values NPTY=#

NSTRPY=#
reboot
insf -d ptys -n #
insf -d ptym -n #
insf -d pts -s # -e -v

{MAXUSERS}
remsh
/usr/lib/netsvc/yp/ypbind
HP-UX
/etc/exports
/etc/xtab

128 GB

128 GB
60~ K

HP-UX:Disk &Filesystem
/etc/fstab
bdf
/sbin/ioscan

diskinfo /dev/rdsk/c#t#d#
pvdisplay -v /dev/dsk/C#t#d#
logical extents
logical volume
volume group

vxfs
/dev/vg00
vgdisplay -v vg00
pvchange
pvcreate

pvdisplay
vgreduce
pvmove
vgcreate
vgremove

vgchange
vgcfgrestore
vgexport
vgimport
vgscan
lvchange
lvdisplay
lvcreate
lvextend
lvreduce
lvremove
lvlnboot
lvrmboot
extendfs /dev/vg00/lvol8
fsadm -F vxfs -b {LE*1024}/mt
lvsplit
lvmerge
lvcreate -m 1
lvextend -m 1
lvcreate -i 3 -I 64
/opt/ignite/bin/make_recovery
fbackup
frecover
HP-UX
/sbin/rc
/stand/vmunix
sysdef
kmtune
kmsystem
cd /stand/build
/usr/lbin/sysadm/system_prep -v -s system
vi system
mk_kernel -s system
cd /stand
mv system system.prev

mv vmunix vmunix.prev
mv dlkm dlkm.prev
mv /stand/build/system system
kmupdate /stand/build/vmunix_test

kmadmin -s
kmadmin -L
kmadmin -U
set_parms initial
grep -i Physical /var/adm/syslog/syslog.log
getconf KERNEL_BITS
adb

tusc
model
uname -m
uname -r
who -r
/var/adm/crash
>boot
Interact with IPL ? Y
ISL>hpux -iS

>boot
Interact with IPL ? Y
ISL>hpux -lm
control-B
co
/etc/TIMEZONE
/etc/rc.config.d/netdaemons
/sbin/init.d/xntpd
HP-UX
swinstall
swremove

swlist

swlist -l fileset -a state


swlist -l file fileset
swlist -l patch
what /stand/vmunix
swlist -l file | grep path
/var/adm/sw/
HP-UX
/dev

insf -e
rmsf
lsdev
ioscan -fnC processor
ioscan -fnC tty

stm
/dev/dsk/c#t#d0
/dev/dsk/c#t2d0
cdfs
/dev/rmt/0m
/dev/rmt/0mn
HP-UX

HP-UX FAQ
HP-UX Reference Manual
IT Resource Center
1-800-633-3600

HP-UX Ports
education.hp.com

LINUX(RedHat)
/ {/dev/sda1}

LINUX(RedHat)
/etc/passwd
/etc/shadow
/etc/group
65535
/etc/securetty
{ttyp1}
99
99
{lilo}
control-x
linux S
passwd root
{grub}
c
kernelvmlinuz-2.4.9-13single roroot=/dev/hda8
initrd /initrd-2.4.9-13.img
boot
passwd root
useradd
userdel
usermod
LINUX(RedHat)
hostid
linuxconf

top

sar {sysstat}
vmstat

iostat {sysstat}
dmesg
64 GB {>2.3.24}
sysctl kernel.shmmax
900 MB
/dev/sda2
partition type 82
free
swapon -a
LINUX
/var/spool/lpd/lp/*
/etc/init.d/lpd stop
/etc/init.d/lpd start

lpr

lpq

lprm
printtool

LINUX(RedHat)

/etc/sysconfig/network-scripts/
/etc/hosts
/etc/nsswitch.conf
sysctl -a | grep net
routed
ifconfig -a
modprobe ip_alias
ifconfig eth0:1 IP
/etc/issue
cd /dev

./MAKEDEV -v pty

256
rsh
/sbin/ypbind
LINUX(RedHat)
/etc/exports
/var/lib/nfs/xtab

2 TB
2 GB {512B block size}
8192 GB {8KB block size}
sysctl fs.file-max
LINUX(RedHat)
/etc/fstab
df -k
cat /proc/devices

cat /proc/scsi/scsi0/sda/model
fdisk -l
logical extents
logical volume
volume group
ext3
reiserfs
vgdisplay -v
pvchange
pvcreate

pvdisplay
vgreduce
pvmove
vgcreate
vgremove

vgchange
vgcfgrestore
vgexport
vgimport
vgscan
lvchange
lvdisplay
lvcreate
lvextend
lvreduce
lvremove
lilo
resize2fs
resize_reiserfs
lvsplit
lvmerge

lvcreate -i 3 -I 64
tar cvf /dev/rst0 /
tar xvf /dev/rst0
LINUX(RedHat)
/etc/rc.d/rc
/boot/vmlinuz

sysctl -a
cd /usr/src/linux

make
make
make
make
make

mrproper
menuconfig
dep
clean
bzImage

make install
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.2.16
mkinitrd /boot/initrd-2.2.16.img 2.2.16
vi /etc/lilo.conf
lilo
lsmod
insmod
rmmod
netconf
free
getconf LONG_BIT

lcrash
strace
uname -m
uname -r
runlevel
{lilo}
control-x
linux S
{grub}
c
kernelvmlinuz-2.4.9-13single roroot=/dev/hda8
initrd /initrd-2.4.9-13.img
boot

/etc/sysconfig/clock
/etc/ntp.conf
/etc/rc.d/init.d/xntpd
LINUX(RedHat)
rpm -i package
rpm -e package

rpm -qa

rpm -V package
rpm -ql package

rpm -qf file


/var/lib/rpm
LINUX(RedHat)
/dev

/dev/MAKEDEV

cat /proc/cpuinfo
lspci
pnpdump

/dev/sda
/dev/cdrom
iso9660
/dev/rst0 { c 9 0}
/dev/nrst0 { c 9 128 }
/dev/fd0
LINUX(RedHat)

LINUX FAQ
Linux Documentation Project
Red Hat support
1-888-REDHAT1

Linux Software Map


RHCE

SOLARIS

Tru64

/ {/dev/vx/dsk/rootvol}

/ {/dev/rz0a}

/export/home
/dev/vx/dsk/home}
/tmp
/dev/vx/dsk/swapvol}
/usr

/usr {/dev/rz0g}

/var
Solaris

Tru64

/etc/passwd
/etc/shadow

/etc/passwd

/etc/group

/etc/group
2147483647

65535

/etc/default/login

/etc/securettys

{CONSOLE=/dev/console}

{ttyp1}

60001 & 65534(nobody4)

65534

60002 & 65534(nogroup)

65534

boot cdrom -s

press the HALT Button or (Control-P)

mkdir /tmp/a

>>>boot -fl s

mount /dev/c0t0d0s0 /tmp/a

lsmbstartup

vi /tmp/a/etc/shadow

/sbin/bcheckrc
passwd root

useradd

useradd

userdel

userdel

logins
usermod

usermod
Solaris

Tru64

hostid

hostid

admintool

sysman

top

top

sar

/usr/opt/svr4/bin/sar

vmstat

vmstat

iostat

iostat

dmesg

uerf -R -o full

16TB

4TB

/dev/vx/dsk/swapvol

/dev/rz0b

swap

raw

swap -l

swapon -s

swap -a

swapon -a
Solaris

Tru64

/etc/lp/interfaces/*

/usr/spool/lpd

/usr/lib/lp/lpshut

/sbin/init.d/lpd stop

/usr/lib/lp/lpsched

/sbin/init.d/lpd start

lp

lp

lpr

lpr

lpstat

lpstat

cancel

cancel

lprm

lprm

lpadmin -p pq

lprsetup

lpadmin -x pq

lprsetup

lpadmin -d pq

export PRINTER="lp"
Solaris

Tru64

/etc/hostname.*
/etc/inet/*
/etc/defaultrouter

/etc/rc.config

/etc/inet/hosts

/etc/hosts

/etc/nsswitch.conf

/etc/svc.conf

ndd /dev/[tcp|ip] ?
in.routed

routed

ifconfig -a

ifconfig -a

ifconfig hme0:1 IP up

ifconfig ln0 alias

BANNER @
/etc/default/telnetd

/etc/issue

{/etc/system}

cd /dev

set pt_cnt = # {SYSV}

./MAKEDEV PTY_1

set npty = # {BSD}


{/etc/iu.ap}
ptsl 0 # ldterm ttcompat
halt
boot -r
176 {BSD}
3000 {SYSV}

8192

rsh

rsh

/usr/lib/netsvc/yp/ypbind

/usr/sbin/ypbind

Solaris

Tru64

/etc/dfs/dfstab
/etc/dfs/sharetab

/etc/exports

/etc/rmtab

/var/adm/mountdtab

1 TB

128 GB {<= 3.2G}

8000 TB {vxfs}

512 GB {>= 4.0}


16 TB {advfs}

1 TB

128 GB {<= 3.2G}

2 GB {=<2.5.1}

512 GB {>= 4.0}


16 TB {advfs}

64 K

64 K
SOLARIS

Tru64

/etc/vfstab

/etc/fstab

df -k

df -k

sysdef
format -d c#t#d#
format>current
format>inquiry

file /dev/rrz0c

prtvtoc

disklabel -p rz0

sub disk

sub disk

Volume

Volume

Plex

Plex

disk group

disk group

vxfs

advfs

/dev/vx/dsk/rootdg

/dev/vol/rootdg

vxprint -l -g rootdg

volprint -l -g rootdg

vxdiskadd

voldiskadd

vxprint -dl

volprint -dl

vxdg rmdisk

voldg rmdisk

vxassist move

volassist move

vxdg init

voldg init

vxdg deport

voldg deport

vxdg import

voldg import

vxedit set

voledit set

vxprint -vl

volprint -vl

vxassist make

volassist make

vxassist growto

volassist growto

vxassist shrinkto

volassist shrinkto

vxedit rm

voledit -g rootdg -rf rm vol1

vxbootsetup
vxva
mkfs -M

vxassist mirror

volassist make vol 100mb mirror=true

vxassist make vol 100mb layout=raid5

volassist make vol 100mb layout=stripe


/usr/sys/bin/btcreate

ufsdump

vdump

ufsrestore

vrestore
SOLARIS

Tru64

/etc/init.d

/sbin/init.d

/kernel/genunix

/vmunix
sysconfig
dxkerneltuner

sysdef -i
vi /etc/system
reboot

doconfig
modinfo
modload
modunload
sys-unconfig

netsetup

prtconf

uerf | grep memory

64

isainfo -kv
crash

kdbx

truss

trace

uname -imp

uname -p

uname -r

sizer -v

who -r

who -r

/var/crash/`uname -n`

ok boot -s

>>> boot -fl s

ok boot -as
Stop-A

control-P

ok go
/etc/TIMEZONE

/etc/svid3_tz

/etc/default/init

timezone

/etc/inet/ntp.conf

rcmgrsetXNTPD_CONFYES

/etc/init.d/xntpd

/sbin/init.d/xntpd
SOLARIS

Tru64

pkgadd

setld -l

pkgrm

setld -d

pkginfo

setld -i

pkginfo -i
pkginfo -p

setld -v

pkgchk -l package

setld -i package

patchadd -p

dupatch -track -type patch

pkgchk -l -p path
/var/sadm

/var/adm/smlogs
SOLARIS

Tru64

/devices

/dev

drvconfig

scu scan edt

devlinks

scsimgr -scan_all

disks
tapes
ports
rem_drv
prtconf -D
psrinfo -v

psrinfo -v

pmadm -l
/usr/platform/`uname -m`/
sbin/prtdiag
ok test-all
/opt/SUNWvts/bin/sunvts
/dev/c#t#d0s2

/dev/rz0c

/dev/dsk/c#t6d0s2

/dev/rz3c

hsfs

cdfs

/dev/rmt/0

/dev/rmt0

/dev/rmt/0n

/dev/nrmt0

/dev/diskette

/dev/fd0c
SOLARIS

Tru64

Solaris 2 FAQ
Solaris 10 Documentation
SunSolve

Tru64 FAQ
Tru64 Documents
Alpha Systems Support

1-800-USA-4SUN

1-800-474-6836

Sun Freeware
suned.sun.com

Tru64 Demos, Shareware & Freeware


ASE Information

You might also like