.Dd Created:$Mdocdate$ .Dt ohazot_linux .Tg back_to_top .Bd -literal -compact _ _ ___ | |__ __ _ _______ | |_ / _ \\| '_ \\ / _` |_ / _ \\| __| | (_) | | | | (_| |/ / (_) | |_ \\___/|_| |_|\\__,_/___\\___/ \\__| .Ed .Tg menu .Bl -column ".Sy ohazot " ".Sy ohazot " ".Sy ohazot " .It Xr ohazot oh Ta | .Xr docs oh Ta | .Xr about oh Ta .El .Dd Created:2025-10-03|Updated:2025-10-06 .Dt ohazot_linux .Os OpenBSD linux .Nm linux to openbsd .Nd migration from linux to OpenBSD, differences and tips .Sh DIFFERENCES AND TIPS .Sx back_to_top .Bl -column -compact ".Sy updatedb " ".Sy do not show the scrollbar on xterm xterm xterm " .It pager Ta | default pages is more, change it on .profile Ta | export PAGER=less .It updatedb Ta | is run weekly, to run manually Ta | Pa /usr/libexec/locate.updatedb .It completion Ta | path Ta | Pa /usr/local/share/bash-completion/bash_completion .It bc Ta | cannot be killed with ^c , type Ta | quit or ^d .It lsblk Ta | is not core. .It realpath Ta | use Ta | readlink -f .It halt Ta | halt waits for keypress to reboot, to halt Ta | halt -p .El .Sh SUDO .Sx back_to_top .Bl -compact .It sudo is replaced by doas .It add wheel group to the users that need root access .Dl usermod -G wheel user .It create the config .Dl cp /etc/examples/doas.conf /etc/ .It modify config to not ask the password everytime you run doas .Dl permit persist :wheel .El .Sh BASH .Sx back_to_top .Bl -compact .It change shell from ksh to bash .Dl chsh -s /usr/local/bin/bash .It for scripts change: .Dl #!/bin/bash .It to .Dl #!/usr/bin/env bash .It if it still shows error: .Dl bad interpreter .It find the location of bash and use the resulting path instead .Dl whereis bash .Sh MOUNT ISO .Sx back_to_top .Bd -literal -compact vnconfig $iso_file mount -t cd9660 /dev/vnd0a /path_to_iso_mount .Ed .Sh SEE ALSO .Sx back_to_top .Ss OpenBSD manpages .Xr vnconfig 8 , .Xr doas 1 , .Xr usermod 8 , .Xr readlink 1 .Ss files .In linux_to_openbsd.oh .Sh AUTHORS .Sx back_to_top .An -nosplit .Xr ohazot oh | .Xr about oh | .Lk https://ohazot.com ohazot.com .Aq Mt admin@ohazot.com