LinuxCommandLibrary

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
-i weight, --increase weight
Manually increase directory weight
-d weight, --decrease weight
Manually decrease directory weight
--purge
Remove non-existent directories
--stat
Show database entries and weights
-h, --help
Show help

ALIASES

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

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community