| TASK \ OS | AIX | Linux | SCO UnixWare |
| OS notes | By IBM, with input from System V, BSD, etc. etc. Runs mainly on IBM RS/6000 and related hardware. | (rh) = Red Hat, | SCO UnixWare 7.0.1& SCO UnixWare 7.1.1 became Caldera Open Unix and later became SCO again. |
| Mandrake, Suse,... | |||
| (deb) = Debian, Libranet,... | |||
| (mand) = Mandrake | |||
| (SuSE) = SuSE | |||
| administrative GUI | smit | (rh) redhat-config* | scoadmin |
| smitty | linuxconf (obsolete) | ||
| wsm | (SuSE) yast2 | ||
| (deb) dpkg-reconfigure | |||
| (mand) drakconf | |||
| managing users | lsuser | useradd | scoadmin |
| mkuser | userdel | useradd | |
| chuser | adduser | userdel | |
| rmuser | |||
| TASK \ OS | AIX | Linux | SCO UnixWare |
| list hardware configuration | prtconf | dmesg (if you're lucky) | hwconfig |
| lscfg | /proc/* | hw | |
| lsattr | lspci | scoadmin/DCU | |
| lsdev | (SuSE) hwinfo | ||
| /usr/lib/X11/testtools/ | |||
| z35SysInfo | |||
| show/set | bootlist -o -m normal | /dev/nvram (if you have it) | ? |
| EEPROM/NVRAM | hwclock | ||
| values | nvsetenv | ||
| add device without reboot | cfgmgr -v | modprobe | mkdev |
| kerneld | |||
| insmod | |||
| hotplug | |||
| cardctl | |||
| tape device | /dev/rmt0 | /dev/st0 | /dev/rct0 |
| X kvm config | ? | xf86config | hwconfig |
| XFree86 -configure | |||
| redhat-config-xfree86 | |||
| /etc/X11/?dm | |||
| TASK \ OS | AIX | Linux | SCO UnixWare |
| read a disk label | lspv -l | fdisk -l | fsname |
| whole disk in partition | N/A | ? | /dev/1s# (#=0,1,...) |
| label a disk | mkvg | cfdisk | ? |
| fdisk | |||
| e2label | |||
| partition a disk | mklv | parted (if you have it) | ? |
| fdisk | |||
| pdisk (on a MAC) | |||
| TASK \ OS | AIX | Linux | SCO UnixWare |
| kernel | /unix | /boot/vmlinuz* | /unix |
| /boot/bootlx | |||
| (see /etc/lilo.conf or /boot/grub/menu.lst) | |||
| show/set kernel parameters | /usr/samples/kernel/vmtune | /proc/* | /etc/conf/cf.d/configure -x |
| (installed with the bos | /proc/sys/* | ||
| adt.samples fileset) | sysctl | ||
| /usr/sbin/no (network-related) | /etc/sysctl.conf | ||
| make disk bootable | bosboot -a | (rh) mkbootdisk | ? |
| (deb) fdisk -A | |||
| (and lilo to manipulate mbr) | |||
| startup scripts | /etc/rc* | /etc/rc* (but may vary) | /etc/rc* |
| /etc/init.d/ | |||
| run levels 1 | 2: multiuser | (set in /etc/inittab) | ? |
| *=normal states | 6: reboot | 0: halt | |
| for more detail | s,S,1: vendor-dependent | ||
| see | 1: single-user | ||
| www.phildev.net/runlevels.html | 2-5*: multiuser | ||
| 6: reboot | |||
| show runlevel 1 | who -r | /sbin/runlevel | who -r |
| time zone info | /etc/environment ($TZ) | /usr/share/zoneinfo/ | ? |
| check swap space | lsps -a | swapon -s | swap -l |
| cat /proc/meminfo | |||
| free | |||
| TASK \ OS | AIX | Linux | SCO UnixWare |
| "normal" filesystem | jfs | ext2 | htfs |
| ext3 | |||
| ReiserFS | |||
| volume-based filesystem | jfs | LVM, LVM2 | vdisk |
| EVMS | |||
| VxVM ($) | |||
| file system | /etc/filesystems | /etc/fstab | /etc/mnttab |
| description | /etc/default/filesys | ||
| /etc/vfstab (local) | |||
| /etc/rmtab (remote) | |||
| volume manipulation | smitty vg | e2fsadm | ? |
| smitty lvm | lvcreate | ||
| smitty jfs | lvremove | ||
| mkvg; chvg; rmvg | lvextend | ||
| mklv; chlv; rmlv | |||
| mkfs; crfs; rmfs | |||
| create filesystem | crfs | mke2fs | ? |
| mkreiserfs | |||
| mkdosfs | |||
| create non-0-length empty file | lmktemp | dd if=/dev/zero of=filename | dd if=/dev/zero of=filenmae bs=1024 count=desired |
| bs=1024k count=desired | |||
| mount CDROM | mount -v cdrfs -o ro | mount /mnt/cdrom | mount /dev/cd0 path |
| /dev/cd0 /cdrom | (deb) mount /cdrom | ||
| smitty cdrom | |||
| TASK \ OS | AIX | Linux | SCO UnixWare |
| NFS share definitions | /etc/exports | /etc/exports | /etc/exports |
| /etc/xtab | |||
| NFS share command | exportfs -a | /etc/init.d/nfs-server reload | exportfs -a |
| (rh) exportfs -a | /etc/nfs start | ||
| name resolution order | /etc/netsvc.conf | /etc/nsswitch.conf | ? |
| /etc/resolv.conf | |||
| show network interface info | ifconfig -a | /sbin/ifconfig | ifconfig -a |
| no -a | netstat -in | ||
| netstat -i | Network Config. Mgr. (GUI) | ||
| lsattr -E -l entX | |||
| change IP | smitty chinet | (rh) edit: /etc/hosts, | ifconfig |
| /etc/sysconfig/network, | |||
| chdev -a netaddr= | /etc/sysconfig/ | netconfig | |
| newIP -I en# | network-scripts/ | ||
| ifcfg-eth0 | |||
| (deb) edit | |||
| /etc/network/interfaces; | |||
| /etc/init.d/networking | |||
| restart | |||
| ping one packet | ping -c 1 hostname | ping -c 1 hostname | ping -c 1 hostname |
| sniff network | iptrace | etherfind | ? |
| ipreport | tcpdump | ||
| ethereal | |||
| etherape | |||
| route definitions | netstat -r | route | netstat -r |
| smitty route | (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/issue.net (telnet) | ? |
| (ftp varies; can use tcp wrappers) | |||
| TASK \ OS | AIX | Linux | SCO UnixWare |
| encrypted passwords in | /etc/security/passwd | /etc/shadow (may vary) | /etc/shadow |
| allow/deny root | /etc/security/user | /etc/securetty | /dev/default/login |
| logins | |||
| firewall config | ? | ? | ? |
| TASK \ OS | AIX | Linux | SCO UnixWare |
| show installed software | lslpp -L | (rh) rpm -a -i | swconfig |
| (rh) rpm -qa | displaypkg | ||
| (deb) dselect | pkginfo | ||
| (deb) dpkg -l | |||
| add software | smitty install_all | (rh) rpm -hiv | custom |
| smitty installp | (deb) dselect | installpkg | |
| apt-get install pkg | SCOadmin (GUI) | ||
| /usr/lib/instl/sm_inst | (deb) dpkg -i | ||
| installp_cmd -a | |||
| -d 'device' '-c' '-N' '-g' '-X' | |||
| precompiled binaries of GPLware and freeware | www-1.ibm.com/servers/ | http://www.linux.org/ | http://www.caldera.com/skunkware/ |
| aix/products/aixos/linux/ | linux.tucows.com | skunkware | |
| download.html | sourceforge.net | ||
| aixpdslib.seas.ucla.edu/ | rpmfind.net | ||
| aixpdslib.html | |||
| bullfreeware.com | |||
| C compiler | /usr/ibmcxx/bin/cc | gcc | /usr/bin/cc |
| show patch level | instfix -ivq | (rh) rpm -q | swconfig -P |
| and/or patches | oslevel -r | (deb) dpkg -s | |
| patch tool | installp | apt-get update | ? |
| smitty update_all | apt-get upgrade | ||
| (rh) up2date | |||
| (mand) urpmi | |||
| configure/show | dump -H | ldconfig | ? |
| runtime linking | ldd | ldd | |
| fortran-2000.com/ | lsmod | ||
| ArnaudRecipes/ | |||
| sharedlib.html | |||
| link library path | $LIBPATH | $LD_LIBRARY_PATH | ? |
| /etc/ld.so.conf | |||
| tracing utility | trace | strace | ? |
| syscalls | ltrace | ||
| truss | |||
| define user defaults | /etc/security/ | /etc/profile | ? |
| mkuser.default | /etc/security/ | ||
| /etc/environment | /etc/skel/ | ||
| csh global .login | ? | /etc/csh.login | ? |
| default syslog and messages | /var/adm/syslog | /var/log/syslog | /usr/adm/syslog |
| /var/adm/messages | /var/log/messages | /var/adm/log/osmlog | |
| /usr/adm/messages | |||
| /var/log/maillog | |||
| system error reporting tool | errpt | dmesg | dmesg |
| (deb) reportbug | |||
| performance monitoring | ftp://ftp.software.ibm.com/aix/tools/perftools/perfpmr/ | vmstat | ? |
| aix/tools/perftools/perfpmr | procinfo -D | ||
| vmstat; iostat; sar; filemon; topas; trace; svmon; netpmon | |||
| match process to file | ? | lsof | ? |
| TASK \ OS | AIX | Linux | SCO UnixWare |