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 http://ftp.FreeBSD.org/pub/FreeBSD/doc/

Questions that are not answered by the documentation may be sent to <[email protected]>.
Send questions about this document to <[email protected]>.