LINUX_TO_OPENBSD(oh) LOCAL LINUX_TO_OPENBSD(oh) linux to openbsd - migration from linux to OpenBSD, differences and tips DIFFERENCES AND TIPS pager | default pages is more, change it on .profile | export PAGER=less updatedb | is run weekly, to run manually | /usr/libexec/locate.updatedb completion | path | /usr/local/share/bash-completion/bash_completion bc | cannot be killed with ^c, type | quit or ^d lsblk | is not core. realpath | use | readlink -f halt | halt waits for keypress to reboot, to halt | halt -p halt | halt waits for keypress to reboot, use: | Bf -literal halt -p SUDO - sudo is replaced by doas - add wheel group to the users that need root access usermod -G wheel user - create the config cp /etc/examples/doas.conf /etc/ - modify config to not ask the password everytime you run doas permit persist :wheel BASH change shell from ksh to bash chsh -s /usr/local/bin/bash for scripts change: #!/bin/bash to #!/usr/bin/env bash if it still shows error: bad interpreter find the location of bash and use the resulting path instead whereis bash MOUNT ISO vnconfig $iso_file mount -t cd9660 /dev/vnd0a /path_to_iso_mount SEE ALSO openbsd(oh) , linux(oh) , user_management(oh) - OpenBSD manpages: vnconfig(8) , doas(1) , usermod(8) , readlink(1) AUTHORS ohazot(oh) | about(oh) | ohazot.com: https://ohazot.com OpenBSD 7.7 linux| Created:2025-10-03|Updated:2025-10-06| LINUX_TO_OPENBSD(oh)