9. Common Commands

Some common command equivalents are as follows:

Linux® command (Red Hat/Debian)FreeBSD equivalentPurpose
yum install package / apt-get install packagepkg install packageInstall package from remote repository
rpm -ivh package / dpkg -i packagepkg add packageInstall local package
rpm -qa / dpkg -lpkg infoList installed packages
lspcipciconfList PCI devices
lsmodkldstatList loaded kernel modules
modprobekldload / kldunloadLoad/Unload kernel modules
stracetrussTrace system calls

All FreeBSD documents are available for download at https://download.freebsd.org/ftp/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>.