I want to add bookmarks to nautilus via the command line. These bookmarks can be directories on the boot drive or auto mounted external drives. I want to know how to do this from the command line instead of doing it manually via the GUI.
The reason I want to do this is every one or two months, I, a linux newcomer, use sudo too liberally or run into a problem that I don't know how to fix and end up having to reinstall my operating system. I've written a shell script that reinstalls my programs and now I want that script to do some configuring.