mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
35 lines
638 B
Plaintext
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}}`
|