Files
cheatsheet-tldr/tldr/bashmarks
2025-11-30 00:23:24 +00:00

35 lines
638 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# bashmarks
> Save and jump to commonly used directories using 1 character commands.
> See also: `autojump`.
> More information: <https://github.com/huyng/bashmarks#shell-commands>.
- Add the bashmark aliases to your shell:
`source /usr/share/bashmarks/bashmarks.sh`
- List available bookmarks:
`l`
- Save the current directory as "bookmark_name":
`s {{bookmark_name}}`
- Go to a bookmarked directory:
`g {{bookmark_name}}`
- Print a bookmarked directory's contents:
`p {{bookmark_name}}`
- Delete a bookmark:
`d {{bookmark_name}}`