manuals: man(1), apropos(1)
man man- read the manual for thepkg_infocommand.man 5 ethers- read a manual in a specific section, such asethers(5)apropos <manname>- search for manuals by name
manuals: pkg_info(1), pkg_mgr(1), pkg_add(1), pkg_delete(1)
pkg_info -Q <pkgname>- query for a package namepkg_mgr- curses package managerpkg_add -vi <pkgname>- install a package by name, prompting when an ambiguous package name is givenpkg_delete <pkgname>- remove a package
manuals: pf.conf(5), pfctl(8)
pfctl -vvsr | grep @- view the expanded firewall rules with their rule number$EDITOR /etc/pf.conf- edit the firewall rulespfctl -Fr -f /etc/pf.conf- flush the current rules and load new ones from /etc/pf.conf
manuals: rc.d(8)
/etc/rc.d/<daemon> restart- restart a daemon
manuals: ethers(5), hosts(5), dnsmasq(8)
$EDITOR /etc/ethers && $EDITOR /etc/hosts- add a static ip entry$EDITOR /etc/dnsmasq.conf && /etc/rc.d/dnsmasq restart- edit dnsmasq's config for dns and dhcp configuration and then restart it