← 返回命令列表

Linux command

j 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Jump to directory

j [pattern]

Jump to child directory

jc [pattern]

Open directory in file manager

jo [pattern]

Show matching directories

j -s [pattern]

Add directory to database

j -a [/path/to/dir]

说明

j is the autojump shell function for quick directory navigation. It learns from your cd habits and jumps to frequently visited directories. The tool maintains a weighted database of directories. Partial names match against this database for fast navigation.

参数

-s
Show matching directories.
-a _PATH_
Add path to database.
-i
Case-insensitive match.
--help
Display help information.

FAQ

What is the j command used for?

j is the autojump shell function for quick directory navigation. It learns from your cd habits and jumps to frequently visited directories. The tool maintains a weighted database of directories. Partial names match against this database for fast navigation.

How do I run a basic j example?

Run `j [pattern]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -s do in j?

Show matching directories.