LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

autojump

Quickly navigate to frequently used directories

TLDR

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

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
copy
yay -S autojump
copy
sudo zypper install autojump
copy
brew install autojump
copy
nix profile install nixpkgs#autojump
copy

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

Copied to clipboard
Kai