goto & shmark: navigate faster

terminalWe explored go2 in one of our earlier articles on faster terminal navigation. However, alternatives galore in the cmdline world and developers come up with new solutions now and then. We found goto and shmark, two more tools to navigate efficiently using bookmarks.


Saves directories as bookmarks (or shortcuts) and does a fuzzy search to find files and directories. The bookmarks are save under ~/.GOTO directory as plaintext files. For example, the bookmark work will be saved as work.skt. As you might have guessed this works like symbolic links and we think a sorted structure or single file based implementation would have been faster for navigation. Anyway, it’s still handy and the fuzzy search logic is distinct from the navigation logic.


Run the following commands to install goto:

$ git clone
$ cd goto
$ make install


  • goto a bookmark or absolutelocation
    $ goto <bookmark>
    $ goto <location>
  • Save the current directory as bookmark
    $ goto -s
  • List all save bookmarks
    $ goto -l
  • Delete a saved bookmark
    $ goto -d
  • Print the absolute path for a bookmark
    $ goto -p
  • Fuzzy find files/directories matching regex in current directory
    $ goto -f



Another minimal bookmarking tool that uses a single file based approach to record the bookmarks.


$ git clone
$ cd shmark
$ chmod +x
$ sudo mv /usr/bin/


You need to source the file (check below) to run the commands. Assuming that you have saved the file in /usr/bin/ as above the command to source the file is:

$ source /usr/bin/

You may want to add the command in ~/.bashrc to source the file when you run your terminal.

  • To add a bookmark for the current directory
    $ m <bookmark>
  • To cd to a bookmark
    $ g <bookmark>
  • Save all bookmarks to ~/.shmarks
    $ savemarks

    Note that sourcing is necessary to load all saved bookmarks.


Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s