Audio files playing - cat <file>.wav > /dev/audio
Boot display and modify partition - man setboot
Boot user kernel:
BO PRI
IPL ? Y
hpux (0;)/stand/vmunix.prev
Boot single user mode:
BO PRI
IPL ? Y
hpux -is
Boot change Console:
PATH CON GRAPHICS(n) ................. Graphic
Card
PATH CON SERIAL_1.9600.8.none ... Terminal at Serial #1
Copy Directories - cd <fromdir> ; tar cvf - . | (cd <todir>
; tar xfp -)
DOS Disk Directoty - dosls /dev/floppy/c0t1d0
Disc Information - diskinfo -v /dev/rdsk/c0t6d0
Devices Listing - ioscan -fun || ioscan -nFC disk
E
Filesystem blocksize - /usr/sbin/fstyp -v /dev/vgNN/lvolMM
find and exec - find <dir> -user <uid> -exec chown <uid>
{} \;
Graphics Resultion - /opt/graphics/common/bin/setmon
H
J
Keymapping show
od -c <Return>
<press any key>
<Return><^D>
Kernel Configuration
cd /stand
vi system
config system
mv vmunix vmunix.prev
mv vmunix_test vmunix
reboot
LAN Information - lanscan
Manuals format to ASCII - man <cmd> | col -b > file.ascii
Mail:
mail -d <user> << EOF
<text>
EOF
Mouse Configuration - ~/.Xdefaults
Network Setup - /sbin/set_params addl_network
Network Change IP Address - /sbin/set_params ip_address
OpenView Temporary Licence - ovstop ; cd /var/opt/ifor ; rm .instant nodelock ; ovstart
Patch Remover - cleanup
Pipe (Fifo) - mknod file p
Remote backup - tar cvf <file> | remsh <host> 'dd of=/dev/rmt/0mn'
Rockridge Format CD mounting:
cat > /etc/pfs_fstab
/dev/dsk/c5t2d0 /SD_CDROM pfs-rrip xlat=unix 0<Return><^D>
nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &
/usr/sbin/pfs_mount /SD_CDROM
/usr/sbin/pfs_umount /SD_CDROM
Shared Library Path set/change - chatr
Software List installed - swlist -l product
HP-UX single screen - export TERM=70096
Terminal Escape Sequences - e=`echo e | tr e "\033"` ; echo "${e}[12;38H${e}[7mHello${e}[0m${e}[20;1H"
User Processes show - ps -u user1[,user2]
vi - flip lines in file - :g/^/m0
W
X
Y
Z