Yo lo he hecho muchisimas veces
| TASK \ OS | AIX | FreeBSD | HP-UX | Linux | NetBSD | OpenBSD | SCO OpenServer | Solaris | SunOS 4 |
| administrative GUI | smit | sysinstall | sam | (rh, FC2+, RHEL4+)system-config* | sushi (obs) | ? | scoadmin | solstice | ? |
| smitty | (rh) redhat-config* | admintool | |||||||
| wsm | bsdconfig (10+) | smh (11.31+) | linuxconf (obsolete) | smc (8 01/01+) | |||||
| (SUSE) yast2 | |||||||||
| (deb) dpkg-reconfigure | |||||||||
| (md) drakconf | |||||||||
| managing users | useradd (5+) | adduser | useradd | useradd | useradd | useradd | scoadmin | useradd | edit /etc/passwd and create home directory |
| userdel (5+) | chpass | userdel | usermod | userdel | userdel | useradd | userdel | ||
| usermod (5+) | rmuser | usermod | userdel | userinfo | adduser (interactive) | userdel | usermod | ||
| lsuser | pw | getprpw | adduser | usermod | usermod | getent | |||
| mkuser | vipw | modprpw | chage | user | user | logins | |||
| chuser | bsdconfig (10+) | pwget | getent | vipw | /usr/sadm/bin/smuser (9+) | ||||
| rmuser | groupadd | ||||||||
| usrck | |||||||||
| list hardware configuration | prtconf | uname | ioscan | arch | dmesg | sysctl hw | hwconfig | prtconf -v | dmesg (if you're lucky) |
| lscfg | sysctl -a | dmesg (if you're lucky) | uname | more | dmesg | hw | /usr/platform/`uname -i`/ | ||
| lsattr | dmesg | adb | dmesg (if you're lucky) | /var/run/dmesg.boot | cat /var/run/dmesg.boot | scoadmin/DCU | sbin/prtdiag -v (sun4u and sun4d only) | ||
| lsdev | cat /var/run/dmesg.boot | model | cat /var/log/dmesg | cat /kern/msgbuf | pcidump | arch -k | |||
| lspath | pciconf -l | stm (from the SupportPlus CDROM) | /proc/* | acpidump | /usr/lib/X11/testtools/ | psrinfo -v | |||
| usbconfig | bdf (like most vendors' df) | lshw | z35SysInfo | isainfo -v | |||||
| camcontrol devlist | getconf | dmidecode | dmesg | ||||||
| devinfo | machinfo (11.23+) | lspci | iostat -En | ||||||
| print_manifest | lspnp | prtfru | |||||||
| lsscsi | cfgadm -l | ||||||||
| lsusb | /etc/path_to_inst | ||||||||
| lsmod | smbios | ||||||||
| (SUSE) hwinfo | |||||||||
| /sys/devices/* | |||||||||
| unique id useful for licensing | uname -u | cat /etc/hostid | uname -i | /sbin/ifconfig eth0 | ? | ? | ? | hostid | hostid |
| uname -m | sysctl kern.hostuuid | ||||||||
| lsattr -El sys0 -a systemid | |||||||||
| show/set | bootlist -o -m normal | eeprom (SPARC only) | setboot | /dev/nvram (if you have it) | eeprom | eeprom | ? | eeprom | eeprom |
| EEPROM/NVRAM | stm | hwclock | |||||||
| values | nvsetenv | ||||||||
| add device without reboot | cfgmgr -v | camcontrol | inf -e | udev (2.6+) | scsictl | (auto-detected) | mkdev | (10+) add_drv | /dev/MKDEV |
| mkdev | atacontrol | ioscan -fnC devtype; | udevtrigger | atactl | devfsadm. pre-Solaris 7 HW 11/99, use: | ||||
| kldload | insf -C devtype | modprobe | drvconfig; devlinks; {disks, tapes, ports} | ||||||
| /etc/rc.d/devfs restart | kerneld | ||||||||
| insmod | /usr/lib/symsm/bin/hot_add (RDAC) | ||||||||
| hotplug | /etc/symsm/rmparams (RDAC) | ||||||||
| cardctl | |||||||||
| remove device | rmdev | camcontrol stop | rmsf | ? | ? | ? | ? | (10+) rem_drv | ? |
| camcontrol eject | devfsadm | ||||||||
| tape device | /dev/rmt0 | /dev/rsa0 | /dev/rmt/0m | /dev/st0 | /dev/st0 | /dev/[e][n][r]st[0-9]* | /dev/rct0 | /dev/rmt/0 | /dev/rst0 |
| /dev/*wt* | |||||||||
| /dev/*sa[0-9]* | |||||||||
| stdin/ stdout/ stderr | ? | /dev/fd/[012] | ? | /dev/fd/[012] | /dev/fd/[012] | /dev/stdin | ? | /dev/fd/[012] | ? |
| /dev/stdout | |||||||||
| /dev/stderr | |||||||||
| /dev/fd/[012] | |||||||||
| X kvm config | ? | Xorg -configure | itemap | xorgcfg | xf86config | X -configure | hwconfig | kdmconfig (x86) | ? |
| xf86config | xorgconfig | xf86cfg | fbconfig; m64config; (etc.) | ||||||
| Xorg -configure | XFree86 -configure | ||||||||
| system-config-display | |||||||||
| xf86config | |||||||||
| XFree86 -configure | |||||||||
| redhat-config-xfree86 | |||||||||
| /etc/X11/?dm | |||||||||
| read a disk label | lspv | disklabel -r | scsimgr (11.31+) | fdisk -l | disklabel -r | disklabel diskName | fsname | prtvtoc | dkinfo |
| gpart show (7.0+) | diskinfo | disk | |||||||
| pvdisplay | mbrlabel | ||||||||
| fdisk | |||||||||
| whole disk in partition | hdisk[0,1,2,...] | c | ? | /dev/hda (e.g. if /dev/hda1 | c or d | c | /dev/1s# (#=0,1,...) | 2 | c |
| is a partition) | sysctl kern.rawpartition | ||||||||
| label a disk | mkvg | fdisk | pvcreate | cfdisk | disklabel -wr | disklabel -E diskName | divvy | format | format |
| disklabel -wr | fdisk | mbrlabel | prtvtoc | ||||||
| sysinstall | gdisk | (x86) fdisk | |||||||
| gpart add (7+) | e2label | ||||||||
| sade (6.3+) | |||||||||
| bsdconfig (10+) | |||||||||
| partition a disk | mklv | fdisk | smh (11.31+) | parted (if you have it) | disklabel -i | fdisk -e diskName | divvy | format | format |
| sysinstall | lvcreate | cfdisk | fmthard | ||||||
| gpart add (7.0+) | sam | fdisk | |||||||
| sade (6.3+) | gdisk | ||||||||
| bsdconfig (10+) | pdisk (on a MAC) | ||||||||
| (deb) mac-fdisk (on a MAC) | |||||||||
| (md) diskdrake | |||||||||
| kernel | /unix | /boot/kernel/kernel | /hpux (9) | /boot/vmlinuz* | /netbsd | /bsd | /unix | /kernel/genunix | /vmunix |
| /stand/vmunix (10+) | /boot/bootlx | /platform/`uname -m`/ | |||||||
| kernel/unix | |||||||||
| (see /etc/lilo.conf or /boot/grub/menu.lst) | /platform/`uname -m`/ | ||||||||
| kernel/sparcv9/unix (7+) | |||||||||
| show/set kernel parameters | vmo | /boot/loader.conf | smh (11.31+) | /proc/* | sysctl | sysctl | /etc/conf/cf.d/configure -x | sysdef | adb |
| ioo | sysctl | sam | /proc/sys/* | /etc/sysctl.conf | /etc/sysctl.conf | getconf | |||
| schedo | /etc/sysctl.conf | sysdef | sysctl | sysdef | cat /etc/system | /usr/kvm/sys/ | |||
| kenv | kmtune (11+) | /etc/sysctl.conf | ndd | `arch -k`/conf | |||||
| kctune (11.23+) | adb -k | ||||||||
| getconf | |||||||||
| limit physical memory | rmss | hw.physmem (in /boot/loader.conf) | ? | mem= (in lilo.conf or /boot/grub/grub.conf) | ? | machine memory (at the "boot" prompt) | ? | /etc/project | ? |
| zonecfg | |||||||||
| loaded kernel modules | genkex | kldstat | kmadmin -s | lsmod | modstat | modstat | modadmin | modinfo | ? |
| vxketadm -s | kcmodule -a (11.23+) | ||||||||
| load module | vxketadm modname load | kldload | kmadmin -L | modprobe | modload | modload | modadmin | modload | ? |
| cfgmgr | kcmodule module=loaded (11.23+) | insmod | |||||||
| mkdev -l devname | |||||||||
| unload module | rmdev -l devname | kldunload | kmadmin -U | rmmod | modunload | modunload | modadmin | modunload | ? |
| kcmodule module=unused (11.23+) | modprobe -r | ||||||||
| make disk bootable | bosboot -a | boot0cfg | mkboot | (rh) mkbootdisk | fdisk -i | /usr/mdec/installboot5 | ? | installboot /usr/platform/ | /usr/kvm/mdec |
| disklabel | (deb) fdisk -A | installboot | /usr/mdec/biosboot5 | `uname -i` | installboot [-hltv] | ||||
| gpart bootcode (7+) | (and lilo to manipulate mbr) | /lib/fs/ufs/bootblk raw_device_file | protobootblk | ||||||
| sade (6.3+) | bootdevice | ||||||||
| startup scripts | /etc/rc* | /etc/rc* (4-) | /etc/rc* (9) | /etc/rc* (but may vary) | /etc/rc* | /etc/rc* | /etc/rc* | ||
| /etc/inittab | /etc/rc.d/* (5+) | /etc/init.d/ | /etc/rc | /etc/rc* | /etc/init.d/ | ||||
| /usr/local/etc/rc.d/* | /etc/rc.config.d (preferred) | chkconfig | /etc/rc.* | /etc/netstart | (10+) svcadm | ||||
| /sbin/rc* (10+) | service | /etc/rc.d/* | (10+) svcs | ||||||
| /sbin/init.d/ | |||||||||
| start/ stop/ config services | startsrc | service (8.1+) | ? | (rh) service | ? | ? | ? | svcs (10+) | ? |
| stopsrc | (rh) chkconfig | svcadm (10+) | |||||||
| lssrc | (deb) sysv-rc-conf | ||||||||
| refresh | |||||||||
| srcmstr | |||||||||
| shutdown (& power off if possible) | shutdown -Fh | shutdown -p now | shutdown -yh 0 | shutdown -Ph now | shutdown -p now | shutdown -hp now | shutdown -i0 | shutdown -y -g0 -i5 | ? |
| poweroff | shutdown -y -g0 -i0 | ||||||||
| halt -p | halt | ||||||||
| poweroff | |||||||||
| run levels 1 | 2: multiuser | 0: halt and power off | 0: shut down | (set in /etc/inittab) | -1: permanently insecure | -1: permanently | ? | 0: firmware monitor | ? |
| *=normal states | 6: reboot | 1: single-user mode | s,S: single-user | 0: halt | 0*: insecure | insecure | s,S: single-user | ||
| for more detail | 6: reboot | 1: sys admin | s,S,1: vendor-dependent | 1*: secure | 0*: insecure | 1: sys admin | |||
| see | c: block further logins | 2: multiuser | 1: single-user | 2: highly secure | 1*: secure | 2: multiuser | |||
| www.phildev.net/runlevels.html | q: rescan ttys(5) file | 3*: share NFS | 2-5*: multiuser | 2: highly secure | 3*: share NFS | ||||
| 4*: start GUI | 6: reboot | 4*: user-defined | |||||||
| kernel security levels: | 5: user-defined | 5: power-down if possible | |||||||
| -1*: permanently insecure | 6: user-defined | 6: reboot | |||||||
| 0: insecure | |||||||||
| 1: secure | |||||||||
| 2: highly secure | |||||||||
| 3: network secure | |||||||||
| show runlevel 1 | who -r | sysctl kern.securelevel | who -r | /sbin/runlevel | sysctl kern.securelevel | sysctl kern.securelevel | who -r | who -r | ? |
| time zone info | /etc/environment ($TZ) | /etc/localtime | /usr/lib/tztab | /usr/share/zoneinfo/ | /etc/localtime | /usr/share/zoneinfo/ | ? | /usr/share/lib/zoneinfo/ | ? |
| /usr/share/zoneinfo | /etc/localtime | /usr/share/zoneinfo/ | /etc/localtime | ||||||
| check swap space | lsps -a | swapinfo | swapinfo | swapon -s | swapctl -l | swapctl | swap -l | swap -s | pstat -s |
| pstat -s | cat /proc/meminfo | pstat -s | swap -l | ||||||
| cat /proc/swaps | systat swap | ||||||||
| free | |||||||||
| core dump management | chcore | kern.sugid_coredump | coreadm | /proc/sys/kernel/core_pattern | coreadm | ||||
| sysdumpdev | kern.capmode_coredump | /proc/pid/coredump_filter | |||||||
| kern.coredump | |||||||||
| kern.nodump_coredump | |||||||||
| kern.corefile | |||||||||
| bind process to CPU | bindprocessor | cpuset | psrset -b | taskset (sched-utils) | ? | ? | ? | pbind | ? |
| rctl (9+) | mpsched -c | ||||||||
| intctl | |||||||||
| "normal" filesystem | jfs | ufs/ffs/ufs2 (5+) | hfs | ext2 | ffs (was ufs) | ffs (was ufs) | htfs (OpenServer 5) | ufs | 4.2 |
| ext2 | vxfs (11.0+) | ext3 | vxfs | zfs (OpenSolaris) | |||||
| zfs (7+) | ReiserFS | ||||||||
| volume-based filesystem | jfs2 | ccd | jfs (vxfs) | LVM, LVM2 | ccd, raidframe | vdisk | zfs(10+) | ? | |
| vinum | LVM | EVMS | ccd | Solstice DiskSuite | |||||
| geom (5+) | VxVM ($) | VxVM ($) | raid | VxVM ($) | |||||
| zfs (7+) | softraid | ||||||||
| file system | /etc/filesystems | /etc/fstab | /etc/checklist | /etc/fstab | /etc/fstab | /etc/fstab | /etc/mnttab | /etc/vfstab (local) | /etc/fstab |
| description | mount | zfs (7+) | (9) | /etc/default/filesys | |||||
| lsfs | /etc/fstab | /etc/vfstab (local) | |||||||
| (10+) | /etc/rmtab (remote) | ||||||||
| volume manipulation | smitty vg | vinum | vg*; lv*; pv* | e2fsadm | ccdconfig | ccdconfig | ? | zpool (10+) | ? |
| smitty lvm | ccdconfig | extendfs | lvcreate | raidctl | raidctl | ||||
| smitty jfs | geom (5.3+) | fsadm | lvremove | bioctl | meta* | ||||
| smitty storage | gstripe (5.3+) | lvextend | (Solstice DiskSuite; | ||||||
| lsvg; varyonvg; varyoffvg | gmirror (5.3+) | vgdisplay | Solaris Volume Mgr (9+)) | ||||||
| mkvg; chvg; | graid3 (5.3+) | (7-, found in | |||||||
| reducevg; extendvg | zpool | /usr/opt/SUNWmd/ | |||||||
| exportvg; importvg | sbin/) | ||||||||
| mklv; chlv; rmlv | |||||||||
| mkfs; crfs; rmfs | /opt/VRTSvxva/bin/vxva | ||||||||
| (Veritas Volume Mgr) ($) | |||||||||
| create filesystem | crfs | newfs | mkfs | mke2fs | newfs | newfs | divvy (OpenServer 5) | newfs | newfs |
| mkfs | zfs (7+) | newfs | mkreiserfs | makefs | mkfs | mkfs | mkfs | ||
| newfs_msdos | mkdosfs | zfs (10u2+) | |||||||
| mkfs.* | |||||||||
| file system debugging and recovery | dfsck | fsck | fsck | fsck | fsck | fsck | fsck | fsck | ? |
| fsck | fsdb | fsdb | debugfs | fsdb | fsdb | fsdb | fsdb | ||
| fsdb | clri | e2undel | clri | clri | clri | ||||
| scan_ffs | |||||||||
| create non-0-length empty file | lmktemp | truncate -s size[K|M|G] filename | prealloc | fallocate | dd if=/dev/zero of=filename bs=1m count=desired | dd if=/dev/zero | dd if=/dev/zero of=filenmaebs=1024 count=desired | mkfile | mkfile |
| dd if=/dev/zero of=filenamebs=size[b|k|m|g] \ | of=filename bs=1024 | ||||||||
| count=desired | dd if=/dev/zero of=filename | count=desired | |||||||
| bs=1024k count=desired | |||||||||
| dd if=/dev/zero of=filename bs=1 count=1 seek=desired-1 | |||||||||
| (sparse file) | |||||||||
| convert DOS-format text to Unix format | strings dosfile.txt > unixfile.txt | tr -d '\r' < input > output | dos2ux | dos2unix | ? | ? | ? | dos2unix | ? |
| mount CDROM | mount -v cdrfs -o ro | mount /cdrom | pfs_mountd | mount /mnt/cdrom | mount -t cd9660 -o ro /dev/cd0a path | mount /dev/cd0a path | mount /dev/cd0 path | /etc/init.d/vold start; volcheck or | mount -t hsfs -r |
| /dev/cd0 /cdrom | mount_cd9660 | pfsd | (deb) mount /cdrom | mount -F hsfs -o ro /dev/dsk/c0t6d0s2/cdrom | /dev/sr0 /cdrom | ||||
| pfs_mount | |||||||||
| smitty cdrom | mount -t cd9960 /dev/cd0 mountpoint | mount /dev/dsk/cxtydz4 | |||||||
| /SD_CDROM | |||||||||
| mount -orr /dev/cdrom /mnt/cdrom (requires "Rock Ridge extension" patches, 11+) | |||||||||
| eject CDROM | ? | camcontrol eject devID | ? | eject | eject cdrom | cdio eject | ? | eject cdrom | ? |
| cdcontrol eject [-f device] | eject cd0 | eject cd0 | |||||||
| eject -n | eject /dev/rcd0c | ||||||||
| create/mount ISO image | mkcd | mkisofs | nohup pfs_mountd&; | mkisofs | makefs -t cd9660 | mkhybrid -o image.iso dir | ? | mkisofs2;DEVICE=`lofiadm -a /absolute_pathname/image.iso` ; mount -F hsfs -o ro | ? |
| mdconfig; mount | nohup pfsd&; | image_file directory; | $DEVICE | ||||||
| pfs_mount -t iso9660 -x unix pathToIso mountPoint | mount -o loop pathToIso | vnconfig -c vnd0 | vnconfig vnd0 image.iso && mount -t cd9660 /dev/vnd0c mountPoint | ||||||
| mountPoint | image_file; | ||||||||
| mount -t | |||||||||
| cd9660 /dev/vnd0a mountPoint | |||||||||
| ACL management | aclget | getfacl | lsacl | getfacl | n/a | ? | ? | getfacl | ? |
| aclput | setfacl | chacl | setfacl | setfacl | |||||
| acledit | {get,set}{f,p}mac | getacl | |||||||
| ls -e | setacl | ||||||||
| Fibre Channel / SAN | fcstat | mptutil (8.0+) | scsimgr (11.31+) | systool | (treat as SCSI device) | ? | ? | cfgadm | ? |
| lscfg -vl fcs0 | showmount | fcmsutil | luxadm | ||||||
| lsattr -El fcs0 | gmultipath | fcdlist | multipath | stmsboot | |||||
| lspath | tdutil | mpathadm | |||||||
| tdlist | fcinfo | ||||||||
| tddiag | |||||||||
| NFS share definitions | /etc/exports | /etc/exports | /etc/exports | /etc/exports | /etc/exports | /etc/exports | /etc/exports | /etc/dfs/dfstab | /etc/exports |
| /etc/xtab | /etc/dfs/dfstab (11.31+) | dfshares | |||||||
| NFS share command | exportfs -a | kill -s HUP `cat /var/run/mountd.pid` | exportfs -a | /etc/init.d/nfs-server reload | kill -s HUP `cat /var/run/mountd.pid` | kill -HUP `cat /var/run/mountd.pid` | exportfs -a | share | exportfs -a |
| mknfsexp | share (11.31+) | (rh) exportfs -a | /etc/rc.d/mountd reload | /etc/nfs start | shareall | ||||
| zfs set sharenfs="..." zfsdataset | shareall (11.31+) | ||||||||
| service nfsd start | share_nfs (11.31+) | ||||||||
| NFS information | nfsstat | nfsstat | nfsstat | cat /proc/mounts | nfsstat | nfsstat | showmount | showmount | ? |
| nfso -as | nfsstat | nfsstat | |||||||
| name resolution order | /etc/netsvc.conf | /etc/host.conf (4-) | /etc/nsswitch.conf | /etc/nsswitch.conf | /etc/nsswitch.conf | /etc/resolv.conf | /etc/resolv.conf | /etc/nsswitch.conf | (hardcoded |
| /etc/resolv.conf | /etc/nsswitch.conf (5+) | /etc/resolv.conf | /etc/resolv.conf(obsolete) | getent | into libc) | ||||
| show network interface info | ifconfig -a | ifconfig -a | nwmgr (11.31+) | ifconfig | ifconfig -a | ifconfig -A | ifconfig -a | dladm | ifconfig -a |
| no -a | lanadmin | ethtool | netstat -in | netstat -in | ndd | ||||
| netstat -i | landiag | Network Config. Mgr. (GUI) | ifconfig -a | ||||||
| netstat -v | lanscan | netstat -in | |||||||
| lsattr -E -l entX | netstat -in | dladm | |||||||
| entstat | ifconfig lanx | (8+) kstat -n hme0 | egrep 'ifspeed|duplex' | |||||||
| change IP | smitty chinet | edit /etc/rc.conf (option ifconfig_interfacename) | /sbin/set_parms initial | ifconfig | edit /etc/rc.conf (ifconfig*) | ifconfig | ifconfig | edit: /etc/{resolv.conf, hosts, hostname.*, netmasks, nodename, | edit /etc/hosts |
| ifconfig | (rh) redhat-config-network | dumpadm.conf, inet/ipnodes, net/*/hosts} | /etc/hostname.* | ||||||
| chdev -a netaddr= | ifconfig | (fedora) system-config-network | edit/etc/ifconfig.interface | edit /etc/hostname.driver | netconfig | ||||
| newIP -I en# | (rh) edit: /etc/hosts, | sys-unconfig; reboot (this is overkill for a simple IP or hostname change) | |||||||
| bsdconfig (10+) | /etc/sysconfig/network, | ||||||||
| mktcpip | /etc/sysconfig/ | ||||||||
| rmtcpip | network-scripts/ | ||||||||
| ifcfg-eth0 | |||||||||
| (deb) edit | |||||||||
| /etc/network/interfaces; | |||||||||
| /etc/init.d/networking | |||||||||
| restart | |||||||||
| start DHCP client | dhcpcd | dhclient | ? | dhcpcd | dhclient | dhclient interface | ? | ifconfig interface dhcp | ? |
| dhclient | (runtime) | ||||||||
| service dhclient start interface | |||||||||
| add dhcp to | |||||||||
| /etc/hostname.driver | |||||||||
| (boot time) | |||||||||
| ping one packet | ping -c 1 hostname | ping -c 1 hostname | ping hostname 10 1 (9) | ping -c 1 hostname | ping -c 1 hostname | ping -c 1 hostname | ping -c 1 hostname | ping hostname packetsize 1 | ping hostname |
| ping hostname -n 1 (10+) | packetsize 1 | ||||||||
| sniff network | iptrace | tcpdump | nettl | etherfind | tcpdump | tcpdump | ? | snoop | etherfind |
| ipreport | netfmt | tcpdump | |||||||
| wireshark (formerly ethereal) | |||||||||
| etherape | |||||||||
| route definitions | netstat -r | edit /etc/rc.conf (option defaultrouter) | /etc/rc.config.d/netconf | route | netstat -r | netstat -r | netstat -r | /etc/defaultrouter | /etc/defaultrouter |
| route | netstat -r | netstat -r | (rh) /etc/sysconfig/network | route show | route show | /etc/notrouter | (kernel tweak or | ||
| route | (rh) /etc/sysconfig/static-routes | /etc/rc.conf | /etc/mygate | /etc/gateways | adb to diable | ||||
| bsdconfig (10+) | (deb) /etc/init.d/network | /etc/mygate | in.routed | forwarding) | |||||
| (deb) /etc/network | netstat -r | ||||||||
| route add | |||||||||
| telnetd, ftpd banner | /etc/security/login.cfg | /etc/ftpwelcome | /etc/inetd.conf (telnet) | /etc/issue.net (telnet) | /etc/motd | /etc/issue.net | ? | /etc/default/telnetd | n/a |
| (ftp varies; can use tcp wrappers) | /etc/ftpwelcome | /etc/ftpwelcome | /etc/default/ftpd | ||||||
| /etc/issue if enabled via if= in /etc/gettytab | |||||||||
| set date/time | ntpdate | date | ntpdate | ntpdate | date | date | ? | ntpdate | ? |
| (from net: ntp or other) | adjkerntz | rdate | ntpdate | rdate | rdate | ||||
| ntp | netdate | ntpd | ntpd | ||||||
| tzsetup | timed (obs) | timed | |||||||
| (obs) timed | |||||||||
| bsdconfig (10+) | |||||||||
| ntpdate | |||||||||
| auditing | audit | auditd | audisp | (2.6+) auditd | ? | mtree | ? | audit | |
| auditpr | audevent | /var/log/faillog | auditd | ||||||
| auditselect | audomon | /etc/security | auditreduce | ||||||
| lsaudrec | audsys | (run nightly) | praudit | ||||||
| encrypted passwords in | /etc/security/passwd | /etc/master.passwd | /etc/passwd (not Trusted) | /etc/shadow (may vary) | /etc/master.passwd (/etc/spwd.db) | /etc/master.passwd (/etc/pwd.db) | /etc/shadow | /etc/shadow | /etc/passwd |
| /.secure/etc/passwd (Trusted 9) | |||||||||
| /tcb/files/auth/ | |||||||||
| (10+) | |||||||||
| /etc/shadow (11.22+) | |||||||||
| min password length | /etc/security/user | /etc/login.conf | /etc/default/security | /etc/pam.d/system-auth | ? | /etc/login.conf | ? | /etc/default/passwd | ? |
| allow/deny root | /etc/security/user | /etc/login.access | /etc/securetty | /etc/securetty | /etc/ttys | /etc/ttys | /dev/default/login | /etc/default/login | /dev/ttytab |
| logins | /etc/ttys | ||||||||
| firewall config | genfilt | ipfw | /etc/opt/ipf/ipf.conf | iptables | ipf | pfctl | ? | (10+) ipf, ipfs, ipfstat | ? |
| smitty ipsec4 | ipf | ipchains | /etc/ipf.conf | /etc/pf.conf | /etc/ipf/ipf.conf | ||||
| wsm network | pfctl | ipfwadm | /etc/ipf6.conf | ||||||
| (rh) redhat-config- | (9+) /usr/aset/ (hardening tool) | ||||||||
| securitylevel | pfctl (3.0+) | (9) SunScreen 3.2 | |||||||
| /etc/pf.conf (3.0+) | |||||||||
| show installed software | lslpp -L | pkg_info | rmfn, what (HP-UX 9) | (rh) rpm -a -i | pkg_info | pkg_info | swconfig (OpenServer 5) | pkginfo | ? |
| ls /var/db/pkg | swlist (HP-UX 10+) | (rh) rpm -qa | displaypkg | prodreg | |||||
| pkg info (10+) | swm list (11.31+) | (rh) yum list installed | pkginfo | admintool | |||||
| (deb) dselect | /var/sadm/install/contents | ||||||||
| (deb) aptitude | |||||||||
| (deb) dpkg -l | |||||||||
| (gen) ls /var/db/pkg/* | |||||||||
| (gen) eix -I | |||||||||
| file is in which package | lslpp -w file | pkg_info -W file | swlist -l file | grep file | (deb) dpkg --search file | pkg_chk | pkg_info -E file | ? | pkgchk -l -p binaryToCheck | ? |
| rpm -qif file | (deb) apt-file update && apt-file search file | pkg_info -Fe file | |||||||
| which_fileset | pkg which file (10+) | (rh) rpm -qif file | |||||||
| (gen) equery b file | |||||||||
| (gen) qfile file | |||||||||
| add software | smitty install | sysinstall | swm install (11.31+) | (rh) rpm -hiv | pkg_add | pkg_add | custom | pkgadd | ? |
| rpm -ihv | /usr/ports make | swinstall | (rh) yum install pkg | /usr/pkgsrc && make | /usr/ports && make | installpkg | |||
| installp -acgxYd /sourcedir[fileset|ALL] | pkg_add | (deb) dselect | SCOadmin (GUI) | ||||||
| pkg install (10+) | (deb) apt-get install pkg | ||||||||
| pkg add (10+) | (deb) dpkg -i | ||||||||
| (md) urpmi | |||||||||
| precompiled binaries of GPLware and freeware | perzl.org/aix/ | ftp.freebsd.org/ | hpux.cs.utah.edu | www.linux.org | ftp://ftp.netbsd.org/pub/ | ftp://ftp.openbsd.org/ | www.caldera.com/ | www.sunfreeware.com | ? |
| pub/FreeBSD | linux.tucows.com | NetBSD/packages | pub/OpenBSD/<version>/ | skunkware | www.blastwave.org | ||||
| bullfreeware.com | www.freebsd.org | hpux.connect.org.uk | sourceforge.net | packages | |||||
| rpmfind.net | ftp://ftp.NetBSD.org/ | ||||||||
| www.ibm.com/systems/power/ | (deb) ftp.debian.org | pub/pkgsrc | |||||||
| software/aix/linux/toolbox/altlic.html | (deb) packages.debian.org | ||||||||
| (gen)packages.gentoo.org3 | |||||||||
| (gen)gentoo-portage.com3 | |||||||||
| (md)easyurpmi.zarb.org | |||||||||
| C compiler | /usr/ibmcxx/bin/cc | /usr/bin/cc (gcc, 9-) | /opt/softbench/bin/cc ($) | cc | /usr/bin/cc (gcc) | /usr/bin/cc | /usr/bin/cc | /opt/SUNWspro/ | /usr/bin/cc |
| /usr/vac/bin/cc ($) | /usr/bin/gcc (10+) | /bin/cc (9) | gcc | bin/cc2 | |||||
| /usr/bin/clang (9.0+) | /usr/bin/cc (10+; not necessarily ANSI; kernel builder only) | ||||||||
| show patch level | instfix -ivq | uname -a | swm list (11.31+) | (rh) rpm -q | cat /kern/version | sysctl -n kern.version | swconfig -P | showrev -p | showrev -p |
| and/or patches | oslevel -s | swlist -l product | | (rh) cat /proc/version | uname -a | prodreg (2.6+) | (if you're lucky) | |||
| emgr -l | freebsd-version (10+) | grep PHsomeString | (rh) cat /etc/redhat-release | /etc/release | patchadd -p | ||||
| (deb) dpkg -s | cat /etc/release | ||||||||
| patch tool | installp | csup (6.2+) | update (9) | apt-get update | cvs | cvs | pkgadd; pkgrm | installpatch (2.5.1-) | n/a |
| smitty update_all | freebsd-update (7+) | swinstall (10+) | apt-get upgrade | patch | cvsup | patchadd (2.6+) | |||
| emgr | (rh) up2date | sup | pkgadd; pkgrm | ||||||
| cvsup or cvs to update, | (rh) yum update | cvsync | /usr/sadm/bin/smpatch (9+) | ||||||
| then rebuild | (md) urpmi | patch | |||||||
| pkg_add | |||||||||
| svnlite (10+) | |||||||||
| configure/show | dump -H | ldd | chatr | ldconfig | ldd | ldd | ? | crle | ldd |
| runtime linking | ldd | ldconfig | ldd (11+) | ldd | nm | ldconfig | ldd | ||
| fortran-2000.com/ | kldstat | kmadmin | lsmod | ldconfig | pldd | ||||
| ArnaudRecipes/ | modinfo | ||||||||
| sharedlib.html | LD_PRELOAD | ||||||||
| link library path | $LIBPATH | $LD_LIBRARY_PATH | $LD_LIBRARY_PATH | $LD_LIBRARY_PATH | $LD_LIBRARY_PATH | $LD_LIBRARY_PATH | ? | $LD_LIBRARY_PATH | $LD_LIBRARY_PATH |
| (64-bit) | /etc/ld.so.conf | /etc/ld.so.conf | (7+ deprecated in favor of crle) | ||||||
| $SHLIB_PATH | |||||||||
| (32- or 64-bit) | |||||||||
| tracing utility | probevue (6+) | ktrace | caliper fprof | strace | ktrace | ktrace | truss | truss | trace |
| trace | truss | caliper ktrace | ltrace | ktruss | kdump | sotruss | |||
| syscalls | dtrace (8+) | trace (freeware) | kdump | systrace | dtrace (10+) | ||||
| truss | dtruss (8+) | tusc (11+, freeware) | |||||||
| watch | |||||||||
| trcrpt | |||||||||
| define user defaults | /etc/security/ | /etc/login.conf | /etc/default | /etc/profile | /etc/profile | /etc/profile | ? | /etc/default/login | /etc/profile |
| mkuser.default | /etc/PATH | /etc/security/ | /etc/skel/* | /etc/skel/* | /etc/profile | ||||
| /etc/environment | /etc/MANPATH | /etc/skel/ | login.conf | /etc/login.conf | /etc/security/ | ||||
| /etc/default/* | /etc/profile.d/* | ||||||||
| csh global .login | /etc/csh.login | /etc/csh.login | /etc/csh.login | /etc/csh.login | /etc/csh.login | /etc/csh.login | ? | /etc/.login | ? |
| default syslog and messages | /var/adm/syslog | /var/log/messages | /var/adm/syslog/syslog.log | /var/log/syslog | /var/log/messages | /var/log/messages | /usr/adm/syslog | /var/adm/messages | /var/adm/messages |
| /var/adm/messages | /var/adm/sulog | /var/log/messages | /var/adm/log/osmlog | /var/log/syslog | |||||
| /var/spool/mqueue/syslog | /usr/adm/messages | softpanorama.org/Logs/solaris_logs.shtml | /var/log/syslog (sendmail) | ||||||
| /var/log/maillog | |||||||||
| system error reporting tool | errpt | dmesg | evmshow (11.31+) | dmesg | dmesg | dmesg | dmesg | prtdiag | dmesg |
| errclear | send-pr | smh (11.31+) | (deb) reportbug | cat /kern/msgbuf | sendbug | ||||
| dmesg | send-pr | ||||||||
| sysdiag (9 and early10) | |||||||||
| stm/cstm/mstm/xstm (10.20+) | |||||||||
| EMS (from support CD) | |||||||||
| performance monitoring | ftp://ftp.software.ibm.com/ | fstat; nfsstat; systat; vmstat; netstat; uustat (9-); top; iostat; | glance | vmstat | iostat; netstat; systat; | fstat; iostat; | sar | sar; iostat; kstat; | iostat; netstat; vmstat |
| aix/tools/perftools/perfpmr | gstat | gpm | procinfo -D | vmstat; top; fstat; | netstat; nfsstat; pstat; | mpstat; netstat; nfsstat; | |||
| caliper | top | nfsstat | systat; top; | prstat; trapstat; vmstat; ptree | |||||
| vmstat; iostat; sar; filemon; topas; trace; svmon; netpmon; | top; sar; vmstat; | htop | vmstat; | ||||||
| proctree | iostat; nfsstat; netstat; | pstree | |||||||
| uustat; Glance($) | |||||||||
| ptree (11.31+) | |||||||||
| match process to file or port | procfiles (5.2+, files only) | sockstat -l | lsof | lsof | fstat | fstat | ? | fuser | ? |
| fuser | netstat -atup | sockstat | lsof2 | ||||||
| pfiles | |||||||||
| manage various logs | snap | ? | ? | logrotate | ? | ? | ? | logadm | ? |
| (rh)sysreport; sosreport | /opt/SUNWexplo/bin/explorer | ||||||||
| X pop-up | /usr/dt/bin/dterror.ds | /usr/local/bin/xmessage | /usr/dt/bin/dterror.ds | /usr/X11R6/bin/xmessage | xmessage | /usr/X11R6/bin/xmessage | ? | /usr/dt/bin/dterror.ds | ? |
No hay comentarios:
Publicar un comentario