Useful NetBSD / *NIX Commands For Newbies



  • chsh
    change your shell
  • nano -Sw .profile
    change your own settings (substitute nano with your favourite text editor
  • passwd
    changes current user’s password
  • echo $SHELL
    prints your running shell
  • mount -t cd9660 -o ro /dev/cd0a [directory]
    mounts most internal optical drives
  • mount -t msdos /dev/fd0a /mnt
    mounts an dos formatted disk
  • umount [directory]
    unmount volume
  • eject /dev/cd0a
    makes a cupholder accessible

Author bio and support


Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite cloud infrastructure provider.

You can leave me a comment by contacting me, and I might publish your thoughts. Please read the FAQs first though.

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!