1
0
Files
Command_Line_Cheat_Sheet/FreeBSD.md
2023-11-24 17:04:08 +01:00

554 B

FreeBSD Cheat Sheet

A collection of commands I use frequently and still don't remember.

pkg

Display the message after first installing the application

pkg show -D <pkg_name>

iocage

Setup a new jail with vnet

iocage create -n <jailname> ip4_addr="10.192.0.28/24" defaultrouter="10.192.0.1" allow_raw_sockets=1 vnet=on boot=on interfaces="vnet0:em0bridge" -r 13.2-RELEASE

zfs

Migrate dataset to new pool

zfs snapshot poolA/dataset@migrate
zfs send -Rv poolA/dataset@migrate | zfs recv -d poolB