Redirection

Note: redirection (>, >>) is done by your shell, so just using $ doas echo "<config line>" > /etc/doas.conf would not work if your current non-root user doesn't have write permissions to that config file# See this link for more info.