UnixPorting's

Unix Sysadmin Cross Reference

Unix Sysadmin Cross Reference

        A summary of the important system administration utilities and file locations for Solaris, HP-UX, FreeBSD, Linux, and AIX. If you have a correction, or want to offer equivalent information about other Unix variants, please tell us about it.


        If you can't find what you are looking for, drop us a note and we will do our best to help you out.


        If this information has saved you some time and trouble, please consider clicking on one of the advertisements on this page. Thanks!


System Administration Tools

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/usr/bin/admintool /usr/sbin/sam /stand/sysinstall /bin/linuxconf /usr/bin/smit (GUI),
/usr/bin/smitty
Disk Space and Information

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/usr/sbin/df /usr/bin/df /bin/df /bin/df /usr/bin/df
/usr/sbin/df -k /usr/bin/bdf /bin/df /bin/df /usr/bin/df -k
/usr/sbin/mount,
umount
/sbin/mount,
umount
/sbin/mount,
umount
/bin/mount,
umount
/sbin/mount,
umount
/usr/sbin/devinfo /usr/sbin/diskinfo
/dev/rdsk/device_file
Kernel Configuration

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/etc/system /stand/system /usr/src/sys /usr/src/linux chdev -l sys0 -a
Processes

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/usr/bin/ps -ef /usr/bin/ps -ef /bin/ps -axj /bin/ps -ef
/bin/truss tusc /usr/bin/truss /usr/bin/strace syscalls
/usr/bin/iostat /usr/bin/iostat /usr/sbin/iostat /usr/bin/iostat
/usr/ucb/users /usr/bin/users /usr/bin/users /usr/bin/users /usr/bin/users
/usr/bin/prstat /usr/bin/top /usr/bin/top /usr/bin/top /usr/bin/top
Physical Memory

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/usr/sbin/dmesg | grep mem
/usr/sbin/prtconf | grep Memory
/etc/dmesg | grep -i phys /sbin/dmesg | grep "real mem" grep MemTotal /proc/meminfo bootinfo -r
Hardware Status/Information

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
dmesg dmesg dmesg dmesg errpt -a
/usr/bin/arch -k /usr/bin/model /bin/arch /usr/bin/uname -m /usr/bin/uname -m
"Unique" ID

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/usr/sbin/dmesg | grep Ether /usr/sbin/lanscan
/usr/bin/hostid /usr/sbin/lanscan,
/usr/bin/uname -i
/usr/bin/hostid /usr/sbin/hostid
Swap

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/usr/sbin/swap -a /usr/sbin/swapon -a /sbin/swapon -a /sbin/swapon -a swapon -a
/usr/sbin/swap -l /usr/sbin/swapinfo /usr/sbin/swapinfo /usr/bin/free lsps -a
vmstat vmstat vmstat vmstat vmstat
System Files

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/etc/rc#.d /sbin/rc#.d /etc/rc* /etc/rc#.d/
/etc/rc#.d /sbin/init.d /etc/init.d/
/etc/vfstab /etc/fstab /etc/fstab /etc/fstab /etc/filesystems
/etc/inet/hosts /etc/hosts /etc/hosts /etc/hosts
/etc/shadow /etc/passwd /etc/master.passwd /etc/shadow /etc/security/passwd
/etc/group /etc/group,
/etc/logingroup
/etc/group /etc/group
/etc/format.dat /etc/disktab /etc/disktab
The X Window System

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux
/usr/openwin/bin/xterm /usr/bin/X11/xterm /usr/X11R6/bin/xterm /usr/X11R6/bin/xterm
/usr/openwin/bin/xhost /usr/bin/X11/xhost /usr/X11R6/bin/xhost /usr/X11R6/bin/xhost
Hostname

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux
/usr/bin/hostname /usr/bin/hostname /bin/hostname /bin/hostname
/etc/inet/hosts /etc/hosts /etc/hosts /etc/hosts
/usr/bin/uname -a /usr/bin/uname -ae /usr/bin/uname -a /bin/uname -a
Networking

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/usr/sbin/showmount /usr/sbin/showmount /usr/bin/showmount /sbin/showmount /usr/bin/showmount
/etc/dfs/dfstab /etc/exports /etc/exports /etc/exports /etc/exports
/usr/sbin/share /usr/sbin/exportfss
/usr/lib/netsvc/yp/ypbind /usr/lib/netsvc/yp/ypbind /usr/sbin/ypbind
/usr/sbin/route /usr/sbin/route /sbin/route /sbin/route /usr/sbin/route
/usr/sbin/in.routed /usr/sbin/gated /sbin/routed /usr/sbin/gated
/usr/bin/netstat /usr/bin/netstat /bin/netstat /usr/bin/netstat /usr/sbin/netstat
/usr/bin/rsh /usr/bin/remsh /usr/bin/rsh /usr/bin/rsh
Tape Copies

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux
/usr/bin/cpio /usr/bin/cpio /usr/bin/cpio /bin/cpio
/usr/sbin/tar /usr/bin/tar /usr/bin/tar /bin/tar
tar cvf /dev/rmt/0m tar cvf /dev/rmt/0m
tar cvf /dev/rmt/0m file tar cvf /dev/rmt/0m file
tar xvf /dev/rmt/0m tar xvf /dev/rmt/0m
Tape Devices

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux
/vol/dev/dsk/cXtXdX (CD-ROM) /dev/dsk/c0tXd0
("X" is address)
/dev/rmt/0m (tape) /dev/rmt/0m
/usr/bin/eject /usr/bin/tcio -r
Software

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/usr/sbin/pkgadd /usr/sbin/swinstall /usr/sbin/pkg_add rpm -i[U]vh installp -a
/usr/sbin/pkginfo /usr/sbin/swlist /usr/sbin/pkg_info rpm -qa lslpp -L
/usr/sbin/pkgrm /usr/sbin/swremove /usr/sbin/pkg_delete rpm -e installp [-r|-u]
/usr/bin/showrev -p /usr/sbin/swlist | grep PH instfix -ia
/usr/sbin/patchadd /usr/sbin/swinstall instfix
/usr/sbin/patchrm /usr/sbin/swremove installp -r
/usr/sbin/pkgchk /usr/sbin/swverify lppchk
/usr/sbin/swmtool /usr/sbin/swinstall,
/usr/sbin/swremove
/usr/bin/pkgmk /usr/sbin/swpackage
Daemons

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux
/usr/bin/cron /usr/bin/cron /usr/sbin/cron /usr/sbin/cron
/usr/bin/atq /usr/bin/at -q /usr/bin/atq /usr/bin/atq
/usr/bin/atrm /usr/bin/at -r /usr/bin/atrm /usr/bin/atrm
Backup/Restore

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux
/usr/sbin/ufsdump /usr/sbin/fbackup,
dump,
rdump
/sbin/dump backup
/usr/sbin/ufsrestore /usr/sbin/frecover,
restore,
rrestore
/sbin/restore restore
Core Files

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux
/usr/bin/savecore /sbin/savecrash /sbin/savecore
/usr/sbin/crash /usr/sbin/crashutil
/usr/bin/coreadm /etc/rc.config.d/savecrash
Disk Formatting

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux
/usr/sbin/format /usr/bin/mediainit /sbin/disklabel [?] /sbin/mke2fs [?]
Disk Partitioning

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux
/usr/sbin/format /usr/sbin/pvcreate,
vgcreate,
lvcreate
/sbin/fdisk /sbin/fdisk
Disk Maintenance

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux
/usr/sbin/format /usr/sbin/pvremove,
vgremove, lvremove,
vgreduce, lvreduce,
vgextend, lvextend,
pvdisplay, vgdisplay,
lvdisplay
Printer/Plotter

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/etc/printers.conf /usr/lib/lp/model
/usr/bin/lpstat /usr/bin/lpstat /usr/bin/lpstat
/usr/bin/lp /usr/bin/lp
/usr/bin/cancel /usr/bin/cancel qcan
/usr/spool/lp/model /usr/lib/lp/model
Miscellaneous

Solaris 8 HP-UX 10.x 11.x FreeBSD Linux AIX
/usr/ucb/whoami /usr/bin/whoami /usr/bin/whoami /usr/bin/whoami
/usr/bin/dos2unix /usr/bin/dos2ux cd /usr/ports/converters/unix2dos
/usr/bin/eject /usr/bin/tcio -r
/usr/bin/fdformat /usr/bin/mediainit -f /usr/sbin/fdformat /usr/bin/fdformat
/usr/bin/makedev /usr/sbin/mknod /sbin/mknod /bin/mknod
/usr/bin/mpstat /opt/perf/bin/glance,
/opt/perf/bin/gpm
/usr/bin/pagesize /opt/perf/bin/glance,
/opt/perf/bin/gpm
/usr/bin/pagesize
/usr/bin/setfacl /usr/bin/chacl
/usr/bin/showrev /usr/bin/uname -a
/usr/bin/tip /usr/bin/cu
/usr/bin/unix2dos /usr/bin/ux2dos
/usr/sbin/add_drv /usr/sbin/mknod,
/usr/sbin/insf,
/usr/sbin/mksf
/usr/sbin/cfgadm /usr/sbin/ioscan
/usr/sbin/devfsadm /usr/sbin/mknod,
/usr/sbin/insf,
/usr/sbin/mksf
/usr/sbin/dhcpconfig /sbin/auto_parms
/usr/sbin/dhtadm /usr/sbin/dhcptools
/usr/sbin/disks /usr/sbin/mknod,
/usr/sbin/insf,
/usr/sbin/mksf
/usr/sbin/fdisk /usr/sbin/lvlnboot,
/usr/sbin/lvcreate
/usr/sbin/growfs /usr/sbin/extendfs,
/usr/sbin/fsadm,
/usr/sbin/lvextend
/usr/sbin/installboot /usr/sbin/lvlnboot
/usr/sbin/metaparam /usr/sbin/lvchange,
/usr/sbin/vgchange
/usr/sbin/metastat /usr/sbin/lvdisplay,
/usr/sbin/pvdisplay,
/usr/sbin/vgdisplay
/usr/sbin/metasync /usr/sbin/lvsync,
/usr/sbin/vgsyncr
/usr/sbin/nslookup /usr/bin/nslookup /usr/sbin/nslookup /usr/bin/nslookup
/usr/sbin/poweroff /usr/sbin/shutdown /sbin/shutdown -h now shutdown -h now
/usr/sbin/prtconf /usr/bin/getconf
/usr/sbin/prtconf | grep -i memory /usr/sbin/swapinfo
/usr/sbin/rem_drv /usr/sbin/rmsf
/usr/sbin/strace /usr/bin/strace /usr/bin/strace [!]
/usr/sbin/strclean /usr/bin/strclean
/usr/sbin/strerr /usr/bin/strerr
/usr/sbin/sysdef /usr/sbin/ioscan,
/usr/sbin/sysdef
lsdev
/usr/sbin/tapes /usr/sbin/mknod,
/usr/sbin/insf,
/usr/sbin/mksf
/usr/ucb/fasthalt /usr/sbin/reboot -q,
/usr/sbin/shutdown