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


This is one of about 5000 posts on Rubénerd. View the home page for the latest, or related posts also tagged with:

If you liked this post, feel free to buy me a coffee, leave me a comment on Twitter, or email me at Thanks :).