BSD Specific Commands

By admin, 27 April, 2025

adduser - command for adding new users

boot0cfg - boot manager installation/configuration utility

bsdlabel - read and write BSD label

dump - rdump, file system backup

dumpfs - dump UFS file system information

gbde - operation and management utility for Geom Based Disk Encryption

geli - control utility for the cryptographic GEOM class

geom - universal control utility for GEOM classes

gjournal - control utility for journaled devices

gpart - control utility for the disk partitioning GEOM class

gptboot - GPT bootcode for UFS on BIOS-based computers

growfs - expand an existing UFS file system

gvinum - Logical Volume Manager control program

ipfw - administration tool for IPv4 packet filtering and NAT

jail, jail_get, jail_set, jail_remove, jail_attach - create and manage system jails

kldload - load a file into the kernel

kldunload - unload a file from the kernel

newfs - construct a new UFS1/UFS2 file system

pw - create, remove, modify & display system users and groups

restore - rrestore, restore files or file systems from backups made with dump

rmuser - remove users from the system

sysctl - get or set kernel state

tunefs - tune up an existing UFS file system

freebsd-update fetch

Based on the currently installed world and the configuration options set, fetch all available binary updates.

freebsd-update install

Install the most recently fetched updates or upgrade. Returns exit code 2 if there are no updates to install and the fetch command wasn't passed as an earlier argument in the same invo-cation.

freebsd-version -k

Print the version and patch level of the installed kernel. Unlike uname, if a new kernel has been installed but the system has not yet rebooted, freebsd-version will print the version and patch level of the new kernel.

freebsd-version -u

Print the version and patch level of the installed userland. These are hardcoded into freebsd-version during the build.