autojump

Quickly navigate to frequently used directories

TLDR

Jump to directory
$ j [project]
Jump to child directory
$ jc [src]
Open directory in file manager
$ jo [downloads]
Show statistics
$ j --stat
Increase directory weight
$ j -i [+10]

SYNOPSIS

j [-i weight] [-d weight] [--stat] [directory]

DESCRIPTION

autojump is a cd command replacement that learns your navigation patterns. It maintains a database of directories you visit, allowing quick jumps using partial names.Instead of typing full paths, you can jump to frequently used directories with short, memorable patterns.

PARAMETERS

directory

Partial directory name to match.
-a path, --add path
Manually add a path to the database.
-i [weight], --increase [weight]
Increase the weight of the current directory.
-d [weight], --decrease [weight]
Decrease the weight of the current directory.
--complete
Used internally for tab completion.
--purge
Remove non-existent paths from the database.
-s, --stat
Show database entries and their key weights.
-v, --version
Show version information.

ALIASES

- j: Main command- jc: Jump to child directory- jo: Open in file manager- jco: Open child in file manager

INSTALL

sudo dnf install autojump
yay -S autojump
sudo zypper install autojump
brew install autojump
nix profile install nixpkgs#autojump

CAVEATS

Requires shell integration (add to .bashrc/.zshrc). Database builds over time; new directories won't jump initially. Similar tool: z, zoxide.

HISTORY

autojump was created by Joël Schaerer around 2009 as one of the first "frecency" (frequency + recency) directory jumpers for shells.

SEE ALSO

z(1), zoxide(1), cd(1)

RESOURCES

Source code