And verily this shall be the place where I write down everything I always have to search for, repeatedly.

  • HOW TO SET FTP PASSIVE MODE FOR PERL CPAN INSTALLS

perl -MCPAN -e '$ENV{FTP_PASSIVE} = 1; install CPAN'

Dump to remote system:

  • dump -0auf – / | ssh user@host ‘cat >filename’

Restoring on OpenBSD via ftp/http

“The early bird gets the worm.  But the second mouse gets the cheese.”

Disable the sysbeep in OpenBSD:   wsconsctl -w keyboard.bell.volume=0

View config files without usual comments:
perl -pne ‘s/^\s*([#;].*|\s*)\n$//’ filename