unterschiedliche-unixe:unterschiedliche_unixe
Unterschiedliche Unixe
Die Angaben in der Tabelle sind derzeit nicht vollständig. Dies gilt vor allem für ULTRIX.
Activity/OS | FreeBSD | NetBSD | OpenBSD | Linux (rh) = Red Hat, Mandrake, Suse,… (deb) = Debian, Ubuntu, Mint,… | ULTRIX | OS/Activity |
---|---|---|---|---|---|---|
list hardware configuration | dmesg | dmesg cat /kern/msgbuf | dmesg | dmesg (if you're lucky) /proc/cpuinfo /proc/pci | uerf -R -o full (if you're lucky) | list hardware configuration |
show/set EEPROM/NVRAM values | openprom (on OpenFirmware architectures) | hwclock | show/set EEPROM/NVRAM values | |||
administrative GUI | /stand/sysinstall | (rh) linuxconf | administrative GUI | |||
read a disk label | disklabel -r | disklabel -r | fdisk -r OR disklabel -rl | fdisk -l | chpt -q | read a disk label |
whole disk in partition | c | d (on i386) c (everything else) | c | c | whole disk in partition | |
label a disk | fdisk disklabel -wr sysinstall | disklabel -wr | disklabel -wr | cfdisk fdisk e2label | label a disk | |
partition a disk | fdisk sysinstall | disklabel | fdisk -e OR disklabel -E | fdisk | chpt -p | partition a disk |
check swap space | swapinfo | swapctl | swapctl | cat /proc/meminfo free | check swap space | |
kernel | /kernel | /netbsd | /bsd | /boot/vmlinuz | kernel | |
show/set kernel parameters | /boot/kernel.conf | /etc/boot.conf | /proc/* /proc/sys/* | show/set kernel parameters | ||
show runlevel | /sbin/runlevel | show runlevel | ||||
add device without reboot | insmod | add device without reboot | ||||
startup scripts | /etc/rc* /usr/local/etc/rc.d/ | /etc/rc* | /etc/rc* | /etc/rc* (but may vary) | /etc/rc* | startup scripts |
„normal“ filesystem | ufs, zfs | ffs (was ufs) | ffs (was ufs) | ext2, ext3, ext4, btfs, xfs | ufs | „normal“ filesystem |
volume based filesystem | ccd, vinum, zfs | ccd, raidframe | ccd | volume based filesystem | ||
file system description | /etc/fstab | /etc/fstab | /etc/fstab | /etc/fstab | /etc/fstab | file system description |
volume manipulation | vinum | volume manipulation | ||||
create non-0-length empty file | dd if=/dev/zero of=filename bs=1024k count=desired | create non-0-length empty file | ||||
NFS share definitions | /etc/exports | /etc/exports | /etc/exports | /etc/exports | NFS share definitions | |
NFS share command | kill -s HUP `cat /var/run/mountd.pid` | kill -s HUP `cat /var/run/mountd.pid` | exportfs -a | NFS share command | ||
mount CD-ROM | mount CD-ROM | |||||
encrypted passwords in | /etc/master.passwd | /etc/master.passwd (/etc/pwd.db) | /etc/master.passwd (/etc/pwd.db) | /etc/shadow (may vary) | /etc/passwd | encrypted passwords in |
allow/deny root logins | /etc/login.access; /etc/ttys | /etc/ttys | /etc/ttys | /etc/securetty | allow/deny root logins | |
default syslog | /var/log/messages | var/log/messages | /var/log/messages | /var/log/syslog /var/log/messages | default syslog | |
system error reporting tool | dmesg | dmesg cat /kern/msgbuf | dmesg | dmesg | uerf | system error reporting tool |
show installed software | pkg_info | pkginfo | pkginfo | (rh) rpm -a -i (rh) rpm -qa (deb) dselect (deb) dpkg -l | show installed software | |
add software | /stand/sysinstall /usr/ports make | pkg_add /usr/pkgsrc && make | pkg_add /usr/ports && make | (rh) rpm -hiv (deb) dselect (deb) apt-get install pkg (deb) dpkg -I | add software | |
show patch level | cat /kern/version | (rh) rpm -q (deb) dpkg -s | show patch level | |||
patch tool | cvsup | cvs | cvs/CTM | (deb) apt-get update (deb) apt-get upgrade | patch tool | |
tracing utility | ktrace truss | ktrace | ktrace ptrace | strace | tracing utility | |
show network interface info | ifconfig -A | ifconfig -a | ifconfig -A | /sbin/ifconfig ip a | show network interface info | |
change network address | edit /etc/rc.conf (option ifconfig_interfacename) | edit /etc/ifconfig.interface dhclient | edit /etc/hostname.driver | edit: /etc/hosts, /etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-eth0 | change network address | |
ping one packet | ping -c 1 hostname | ping -c 1 hostname | ping -c 1 hostname | ping -c 1 hostname | ping one packet | |
route definitions | edit /etc/rc.conf (option defaultrouter) | (rh) /etc/sysconfig/network (rh) /etc/sysconfig/static-routes (deb) /etc/init.d/network (deb) /etc/network | route definitions | |||
C compiler | /usr/bin/cc (gcc) | /usr/bin/cc | /usr/bin/cc | gcc | C compiler | |
Activity/OS | FreeBSD | NetBSD | OpenBSD | Linux (rh) = Red Hat, Mandrake, Suse,… (deb) = Debian, Ubuntu, Mint,… | ULTRIX | OS/Activity |
unterschiedliche-unixe/unterschiedliche_unixe.txt · Zuletzt geändert: 2024/05/16 20:29 von 127.0.0.1