9. Common Commands

9.1. Package Management

Linux® command (Red Hat/Debian)FreeBSD equivalentPurpose
yum install package / apt-get install packagepkg_add -r packageInstall package from remote repository
rpm -ivh package / dpkg -i packagepkg_add -v packageInstall package
rpm -qa / dpkg -lpkg_infoList installed packages

9.2. System Management

Linux® commandFreeBSD equivalentPurpose
lspcipciconfList PCI devices
lsmodkldstatList loaded kernel modules
modprobekldload / kldunloadLoad/Unload kernel modules
stracetrussTrace system calls

All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/

Questions that are not answered by the documentation may be sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.