Linux® command (Red Hat/Debian) | FreeBSD equivalent | Purpose |
---|---|---|
yum install package / apt-get install package | pkg_add -r package | Install package from remote repository |
rpm -ivh package / dpkg -i package | pkg_add -v package | Install package |
rpm -qa / dpkg -l | pkg_info | List installed packages |
Linux command | FreeBSD equivalent | Purpose |
---|---|---|
lspci | pciconf | List PCI devices |
lsmod | kldstat | List loaded kernel modules |
modprobe | kldload / kldunload | Load/Unload kernel modules |
strace | truss | Trace system calls |