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

This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.