Random notes & tips
Change or disable keyboard beep
Shutdown
$ doas shutdown -p now
Leave X and come back
You have logged into the X server, but want to quickly jump to a regular terminal? You can type t...
Vi – Show lines
To show lines in a file opened in vi, press Esc to enter Normal/Command mode and type :set number...
Vi – Jump to a line
In Normal mode, type :{line_nubmer}, e.g :20.
Show and change hostname
Show To show your hostname, you can conveniently type hostname into the terminal: Example outpu...
Error – database too small: /var/db/locate.database
Locate is a cool utility that allows you to search through your filesystem quickly thanks to an i...
Change repository, package mirror
Mirror information is located in /etc/installurl file. Unlike on Linux, where package managers us...