** Credit Web
Compare Unix Reference Command HPUX,AIX,Linux,Sun
Table1
Table1
TASK \ OS | AIX | HP-UX | Linux | OpenBSD | Solaris |
OS notes | By IBM, with input from System V, BSD, etc. etc. Runs mainly on IBM RS/6000 and related hardware. | Hewlett-Packard. | (rh) = Red Hat, Mandrake, Suse,... (deb) = Debian, Libranet,... (mand) = Mandrake (SuSE) = SuSE | Forked from NetBSD in 1995. Security emphasis. This table does not include external packages from /usr/ports. | Solaris 2.0-2.6, 7, 8, 9 (SunOS 5.*) SVR4-based |
administrative GUI | smit smitty wsm | sam | (rh) redhat-config* linuxconf (obsolete) (SuSE) yast2 (deb) dpkg-reconfigure (mand) drakconf | ? | solstice admintool smc (8 01/01+) |
managing users | lsuser mkuser chuser rmuser | useradd userdel usermod | useradd userdel adduser | useradd userdel adduser (interactive) | useradd userdel usermod /usr/sadm/bin/smuser (9+)groupadd |
TASK \ OS | AIX | HP-UX | Linux | OpenBSD | Solaris |
list hardware configuration | prtconf lscfg lsattr lsdev | ioscan dmesg (if you're lucky) adb model stm (from the SupportPlus CDROM) bdf (like most vendors' df)getconf machinfo | dmesg (if you're lucky) /proc/* lshw dmidecode lspci lspnp lsusb lsmod (SuSE) hwinfo | dmesg cat /var/run/dmesg.boot | prtconf -v /usr/platform/`uname -i`/ sbin/prtdiag -v (sun4u and sun4d only) arch -k psrinfo -v isainfo -v dmesg iostat -En prtfru cfgadm -l /etc/path_to_inst |
show/set EEPROM/NVRAM values | bootlist -o -m normal | setboot stm | /dev/nvram (if you have it) hwclock nvsetenv | openprom (on OpenFirmware architectures) | eeprom |
add device without reboot | cfgmgr -v | ioscan -fnCdevtype; insf -Cdevtype | modprobe kerneld insmod hotplug cardctl | ? | devfsadm. pre-Solaris 7 HW 11/99, use: drvconfig; devlinks; {disks, tapes, ports} |
tape device | /dev/rmt0 | /dev/rmt/0m | /dev/st0 | /dev/st0 | /dev/rmt/0 |
X kvm config | ? | itemap | xf86config XFree86 -configure redhat-config-xfree86 /etc/X11/?dm | ? | kdmconfig (x86)fbconfig; m64config; (etc.) |
TASK \ OS | AIX | HP-UX | Linux | OpenBSD | Solaris |
read a disk label | lspv -l | diskinfo pvdisplay | fdisk -l | fdisk -r OR disklabel -rl | prtvtoc |
whole disk in partition | N/A | ? | ? | c | 2 |
label a disk | mkvg | pvcreate | cfdisk fdisk e2label | disklabel -wr | format prtvtoc |
partition a disk | mklv | lvcreate sam | parted (if you have it)fdisk pdisk (on a MAC) (deb) mac-fdisk (on a MAC) (mand) diskdrake | fdisk -e OR disklabel -E | format fmthard |
TASK \ OS | AIX | HP-UX | Linux | OpenBSD | Solaris |
kernel | /unix | /hpux (9)/stand/vmunix (10+) | /boot/vmlinuz* /boot/bootlx (see /etc/lilo.conf or /boot/grub/menu.lst) | /bsd | /kernel/genunix /platform/`uname -m`/ kernel/unix /platform/`uname -m`/ kernel/sparcv9/unix (7+) |
show/set kernel parameters | /usr/samples/kernel/vmtune (installed with the bos adt.samples fileset) /usr/sbin/no (network-related) | sam sysdef kmtune (11+)getconf | /proc/* /proc/sys/* sysctl /etc/sysctl.conf | sysctl /etc/sysctl.conf | sysdef getconf cat /etc/system ndd adb -k |
make disk bootable | bosboot -a | mkboot | (rh) mkbootdisk (deb) fdisk -A (and lilo to manipulate mbr) | ? | installboot /usr/platform/ `uname -m` /lib/fs/ufs/bootblk raw_device_file |
startup scripts | /etc/rc* | /etc/rc* (9) /etc/rc.config.d (preferred) /sbin/rc* (10+) /sbin/init.d/ | /etc/rc* (but may vary) /etc/init.d/ | /etc/rc* | /etc/rc* /etc/init.d/ |
run levels 1 *=normal states for more detail see www.phildev.net/runlevels.html | 2: multiuser 6: reboot | 0: shut down s,S: single-user 1: sys admin 2: multiuser 3*: share NFS 4*: start GUI 5: user-defined 6: user-defined | (set in /etc/inittab) 0: halt s,S,1: vendor-dependent 1: single-user 2-5*: multiuser 6: reboot | -1: permanently insecure 0*: insecure 1*: secure 2: highly secure | 0: firmware monitor s,S: single-user 1: sys admin 2: multiuser 3*: share NFS 4*: user-defined 5: power-down if possible 6: reboot |
show runlevel 1 | who -r | who -r | /sbin/runlevel | sysctl kern.securelevel | who -r |
time zone info | /etc/environment ($TZ) | /usr/lib/tztab | /usr/share/zoneinfo/ | /usr/share/zoneinfo/ /etc/localtime | /usr/share/lib/zoneinfo/ |
check swap space | lsps -a | swapinfo | swapon -s cat /proc/meminfo cat /proc/swaps free | swapctl | swap -s swap -l |
TASK \ OS | AIX | HP-UX | Linux | OpenBSD | Solaris |
"normal" filesystem | jfs | hfs vxfs (11.0+) | ext2 ext3 ReiserFS | ffs (was ufs) | ufs |
volume-based filesystem | jfs | jfs (vxfs) LVM VxVM ($) | LVM, LVM2 EVMS VxVM ($) | ccd raid | Solstice DiskSuite VxVM ($) |
file system description | /etc/filesystems | /etc/checklist (9) /etc/fstab (10+) | /etc/fstab | /etc/fstab | /etc/vfstab (local) |
volume manipulation | smitty vg smitty lvm smitty jfs mkvg; chvg; rmvg mklv; chlv; rmlv mkfs; crfs; rmfs | vg*; lv*; pv* extendfs fsadm | e2fsadm lvcreate lvremove lvextend | ccdconfig raidctl | meta* (Solstice DiskSuite; Solaris Volume Mgr (9+)) (7-, found in /usr/opt/SUNWmd/ sbin/) /opt/VRTSvxva/bin/vxva (Veritas Volume Mgr) ($) |
create filesystem | crfs | mkfs newfs | mke2fs mkreiserfs mkdosfs | newfs | newfs mkfs |
create non-0-length empty file | lmktemp | prealloc | dd if=/dev/zero of=filename bs=1024k count=desired | dd if=/dev/zero of=filename bs=1024k count=desired | mkfile |
mount CDROM | mount -v cdrfs -o ro /dev/cd0 /cdrom smitty cdrom | pfs_mountd pfsd pfs_mount mount /dev/dsk/cxtydz /SD_CDROM | mount /mnt/cdrom (deb) mount /cdrom | mount -t cd9660 -r /dev/cd0a path | /etc/init.d/vold start; volcheck ormount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom |
create/mount ISO image | ? | ? | mkisofs mount -o loop pathToIso mountPoint | ? | mkisofs;cdrecord;mount |
ACL management | aclget aclput acledit ls -e | lsacl chacl getacl setacl | getfacl setfacl | ? | getfacl setfacl |
TASK \ OS | AIX | HP-UX | Linux | OpenBSD | Solaris |
NFS share definitions | /etc/exports /etc/xtab | /etc/exports | /etc/exports | /etc/exports | /etc/dfs/dfstab dfshares |
NFS share command | exportfs -a | exportfs -a | /etc/init.d/nfs-server reload (rh) exportfs -a | kill -HUP `cat /var/run/mountd.pid` | share shareall |
NFS information | ? | nfsstat | cat /proc/mounts | ? | showmount nfsstat |
name resolution order | /etc/netsvc.conf | /etc/nsswitch.conf | /etc/nsswitch.conf /etc/resolv.conf | /etc/resolv.conf | /etc/nsswitch.conf getent |
show network interface info | ifconfig -a no -a netstat -i lsattr -E -l entX | lanadmin landiag lanscan netstat -in ifconfig lanx | ifconfig ethtool | ifconfig -A | ndd ifconfig -a netstat -in (8+) kstat -n hme0 | egrep 'ifspeed|duplex' |
change IP | smitty chinet chdev -a netaddr= newIP -I en# | /sbin/set_parms initial ifconfig | (rh) edit: /etc/hosts, /etc/sysconfig/network, /etc/sysconfig/ network-scripts/ ifcfg-eth0 (deb) edit /etc/network/interfaces; /etc/init.d/networking restart | edit /etc/hostname.driver | edit: /etc/{resolv.conf, hosts, hostname.*, netmasks, nodename, dumpadm.conf, net/*/hosts} sys-unconfig; reboot |
start DHCP client | ? | ? | dhcpcd | ? | ifconfig interface dhcp |
ping one packet | ping -c 1 hostname | ping hostname 10 1 (9) ping hostname -n 1 (10+) | ping -c 1 hostname | ping -c 1 hostname | ping hostname packetsize 1 |
sniff network | iptrace ipreport | nettl netfmt | etherfind tcpdump ethereal etherape | tcpdump | snoop |
route definitions | netstat -r smitty route | /etc/rc.config.d/netconf netstat -r | route (rh) /etc/sysconfig/network (rh) /etc/sysconfig/static-routes (deb) /etc/init.d/network (deb) /etc/network | netstat -r route show | /etc/defaultrouter /etc/notrouter /etc/gateways in.routed netstat -r route add |
telnetd, ftpd banner | /etc/security/login.cfg | /etc/inetd.conf (telnet) | /etc/issue.net (telnet) (ftp varies; can use tcp wrappers) | /etc/issue.net /etc/ftpwelcome | /etc/default/telnetd /etc/default/ftpd |
TASK \ OS | AIX | HP-UX | Linux | OpenBSD | Solaris |
encrypted passwords in | /etc/security/passwd | /etc/passwd (not Trusted)/.secure/etc/passwd (Trusted 9)/tcb/files/auth/ (10+) /etc/shadow (11.22+) | /etc/shadow (may vary) | /etc/master.passwd (/etc/pwd.db) | /etc/shadow |
allow/deny root logins | /etc/security/user | /etc/securetty | /etc/securetty | /etc/ttys | /etc/default/login |
firewall config | ? | /etc/opt/ipf/ipf.conf | iptables ipchains ipfwadm (rh) redhat-config- securitylevel | pfctl /etc/pf.conf | (9+) /usr/aset/ |
TASK \ OS | AIX | HP-UX | Linux | OpenBSD | Solaris |
show installed software | lslpp -L | rmfn, what (HP-UX 9) swlist (HP-UX 10+) | (rh) rpm -a -i (rh) rpm -qa (rh) yum list installed (deb) dselect (deb) aptitude (deb) dpkg -l | pkg_info | pkginfo prodreg admintool /var/sadm/install/contents |
add software | smitty install_all smitty installp /usr/lib/instl/sm_inst installp_cmd -a -d 'device' '-c' '-N' '-g' '-X' | swinstall | (rh) rpm -hiv (rh) yum install pkg (deb) dselect (deb) apt-get install pkg (deb) dpkg -i | pkg_add /usr/ports && make | pkgadd |
precompiled binaries of GPLware and freeware | www-1.ibm.com/servers/ aix/products/aixos/linux/ download.html aixpdslib.seas.ucla.edu/ aixpdslib.html bullfreeware.com | hpux.cs.utah.edu hpux.connect.org.uk | http://www.linux.org/ linux.tucows.com sourceforge.net rpmfind.net (deb) http://ftp.debian.org/ (deb) packages.debian.org | ftp://ftp.openbsd.org/ pub/OpenBSD/ packages | http://www.sunfreeware.com/ http://www.blastwave.org/ |
C compiler | /usr/ibmcxx/bin/cc | /opt/softbench/bin/cc ($) /bin/cc (9) /usr/bin/cc (10+; not ANSI; kernel builder only) | gcc | /usr/bin/cc | /opt/SUNWspro/ bin/cc ($) |
show patch level and/or patches | instfix -ivq oslevel -r | swlist -l product | grep PHsomeString | (rh) rpm -q (deb) dpkg -s | sysctl -n kern.version | showrev -p prodreg (2.6+) patchadd -p |
patch tool | installp smitty update_all | update (9) swinstall (10+) | apt-get update apt-get upgrade (rh) up2date (rh) yum update (mand) urpmi | cvs/CTM | installpatch (2.5.1-) patchadd (2.6+) pkgadd /usr/sadm/bin/smpatch (9+) |
configure/show runtime linking fortran-2000.com/ ArnaudRecipes/ sharedlib.html | dump -H ldd | chatr ldd (11+)kmadmin | ldconfig ldd lsmod | ldd ldconfig | crle ldd pldd modinfo LD_PRELOAD |
link library path | $LIBPATH | $LD_LIBRARY_PATH (64-bit) $SHLIB_PATH (32- or 64-bit) | $LD_LIBRARY_PATH /etc/ld.so.conf | ? | $LD_LIBRARY_PATH |
tracing utility | trace syscalls truss watch | trace (freeware)tusc (11+, freeware) | strace ltrace | ktrace ptrace | truss sotruss dtrace (10+) |
define user defaults | /etc/security/ mkuser.default /etc/environment | /etc/default /etc/PATH /etc/MANPATH /etc/default/* | /etc/profile /etc/security/ /etc/skel/ | /etc/profile /etc/skel/* /etc/login.conf | /etc/default/login /etc/profile /etc/security/ |
csh global .login | ? | /etc/csh.login | /etc/csh.login | /etc/csh.login | /etc/.login |
default syslog and messages | /var/adm/syslog /var/adm/messages | /var/adm/syslog/syslog.log /var/adm/sulog /var/spool/mqueue/syslog | /var/log/syslog /var/log/messages /usr/adm/messages /var/log/maillog | /var/log/messages | /var/adm/messages /var/log/syslog |
system error reporting tool | errpt | dmesg sysdiag (9 and early10) stm/cstm/mstm/xstm (10.20+)EMS (from support CD) | dmesg (deb) reportbug | dmesg | prtdiag |
performance monitoring | ftp://ftp.software.ibm.com/ aix/tools/perftools/perfpmr vmstat; iostat; sar; filemon; topas; trace; svmon; netpmon | top; sar; vmstat; iostat; nfsstat; netstat; uustat; Glance($) | vmstat procinfo -D | iostat; pstat; systat; vmstat | sar; iostat; kstat; mpstat; netstat; nfsstat; prstat; trapstat; vmstat; ptree |
match process to file or port | ? | ? | lsof netstat -atup | ? | fuser lsof2 pfiles |
TASK \ OS | AIX | HP-UX | Linux | OpenBSD | Solaris |
FAQs (see also faqs.org) | www.faqs.org/faqs/ aix-faq/part1/ preamble.html | www.faqs.org/faqs/ hp/hpux-faq/preamble.html | www.linuxdoc.org/ FAQ/Linux-FAQ www.debian.org/doc/ FAQ | http://www.openbsd.org/faq/ | www.faqs.org/faqs/Solaris2/ FAQ/ www.faqs.org/faqs/Solaris2/ x86/FAQ/ www.stokely.com/ unix.sysadm.resources/ faqs.sun.html |
mailing list | AIX-L@pucc. princeton.edu (LISTSERV) | hpux-admin@ dutchworks.nl (majordomo) | www.linumanagers .org www.linux.org/ help/lists.html | www.openbsd.org/ mail.html | sun-managers@sunmanagers .org (majordomo) |
mailing list archives | www.marist. edu/htbin/wlvindex? ADSM-L marc.theaimsgroup.com/ ?l=aix-l&r=1&w=2 | www.dutch works.nl/ htbin/hpsysadmin | www.linuxmanagers.org/ pipermail/linuxmanagers lists.debian.org | www.openbsd.org/ mail.html | www.sunmanagers.org/ archives.html www.latech. edu/sunman.html |
newsgroup(s) groups.google | comp.unix.aix www.thp.uni-duisburg.de/ cuaix/cuaix.html | comp.sys.hp.hpux | comp.os.linux.* (esp .answers) | comp.unix.bsd. openbsd.misc lucky.openbsd.misc | comp.sys.sun. admin, comp.unix.solaris |
user groups | http://www.userblue.org/ | http://www.interex.org/ | http://www.debianhelp.org/ | deadly.org | ? |
magazines | www.developer. ibm.com/library/aixpert | http://www.hpchronicle.com/ http://www.interex.org/hpuxusr/ http://www.hppro.com/ | http://www.linuxjournal.com/ http://www.linux-mag.com/ http://www.debianplanet.org/ | undeadly.org | http://www.sunworld.com/ sun.com/sun-on-net/itworld |
vendor home page | www.developer.ibm.com/ tech/map/aixrm.html | unix.hp.com | http://www.linux.org/ http://www.redhat.com/ http://www.debian.org/ | http://www.openbsd.org/ | sun.com/solaris sun.com/bigadmin sun.com/developers/support soldc.sun.com access1.sun.com |
vendor docs and patches | http://www.redbooks.ibm.com/ techsupport.services. ibm.com/ server/support? view=pSeries | docs.hp.com itrc.hp.com | www.linuxdoc.org/ rpmfind.net/linux/RPM | www.openbsd.org/ docum.html www.openbsd.org/ errata.html | docs.sun.com sunsolve.sun.com |
vendor phone (US) | AIX: 800-237-5511 IBM hardware: 800-426-7378 | 800-633-3600 | ? | ? | 800-USA-4SUN |
6 comments:
Nice post which is very informative..!! Thanks for sharing, Check out our site..!!
123.hp.com || 123.hp.com/setup || 123HP Setup || hp.com/setup || hp.com/123 || 123.hp.com setup || 123 HP Printer Setup || 123 HP Printer Support || 123 HP Setup Install || 123hpcom || 123 HP Printer Install || 123hpcomsetup || 123 HP Printer Setup || 123HP Install || hpcom/123 || 123hpcominstall || 123HP Setup || 123 HP Smart App || Install 123 HP || HP 123 Setup
123 hp setup, 123 hp setup, 123 hp setup, 123 hp setup,
Epson XP 7100
hp deskjet 9800 driver, hp deskjet 9800 driver, hp deskjet 9800 driver, hp deskjet 9800 driver, hp deskjet 9800 driver,
Nice blog! Thanks for sharing this valuable information
Cyber Security Course in Pune
Cyber Security Course in Gurgaon
Cyber Security Course in Hyderabad
Cyber Security Course in Bangalore
cyber security course in delhi
cyber security course in kochi
cyber security course in ahmedabad
cyber security course in mumbai
123.hp.com/setup, hp envy 5660 setup, hp envy 5055 setup, hp envy 5052 setup, hp envy 5032 setup
Post a Comment