LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

bashmarks

Directory bookmarking for the shell

TLDR

Save current directory bookmark
$ s [bookmark-name]
copy
Go to bookmark
$ g [bookmark-name]
copy
List bookmarks
$ l
copy
Print bookmark path
$ p [bookmark-name]
copy
Delete bookmark
$ d [bookmark-name]
copy

SYNOPSIS

bashmarks directory bookmarking functions

DESCRIPTION

bashmarks is a bash script that provides directory bookmarking functionality. It allows you to save frequently-used directory paths with short names and jump to them quickly.The tool adds convenient shell functions for managing and navigating to bookmarked directories.

FUNCTIONS

s name

Save current directory as bookmark
g name
Go to bookmarked directory
l
List all bookmarks
d name
Delete bookmark
p name
Print bookmark path

FEATURES

- Simple bookmark management- Tab completion for bookmarks- Persistent storage- Integration with bash/zsh

WORKFLOW

$ # Save bookmark
cd /var/log/apache2
s apache

# Jump to bookmark
g apache

# List all
l

# Remove
d apache
copy

CAVEATS

Requires sourcing ~/.local/bin/bashmarks.sh in your shell config. Bookmark names must be simple (no spaces or special chars). Bookmarks are stored in ~/.sdirs. Different from z or autojump which rank directories by frequency. Must be installed separately.

HISTORY

bashmarks was created by Huy Nguyen around 2010 to provide simple directory bookmarking for bash users.

SEE ALSO

z(1), autojump(1), fasd(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid