diff --git a/.vscode/settings.json b/.vscode/settings.json index 0ad21a7..4e1fcf4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -78,6 +78,7 @@ "pkexec", "polkit", "portsnap", + "poweroff", "pvresize", "radeon", "replicatedctl", diff --git a/knowledge base/freebsd.md b/knowledge base/freebsd.md index 73f05ce..2b7230a 100644 --- a/knowledge base/freebsd.md +++ b/knowledge base/freebsd.md @@ -80,6 +80,15 @@ pkg install -y 'zsh' 'zsh-autosuggestions' # Check for known vulnerabilities in *installed* applications. pkg audit -F pkg audit -Fr 'sqlite' + +# *Gently* reboot the system. +shutdown -r now +shutdown -r +30 "System will reboot" + +# *Gently* shutdown the system. +# `poweroff` is equivalent to `shutdown -p now`. +shutdown -p +5 +poweroff ``` ## Utilities worth noting