9. Common Commands
Prev |  | Next

## 9. Common Commands

### 9.1. Package Management

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

### 9.2. System Management

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

Prev |  | Next
8. procfs: Gone But Not Forgotten | Home | 10. Conclusion

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>.