LinuxCommandLibrary

scd

Smart directory changer with learning

TLDR

Change to bookmarked directory

$ scd [bookmark]
copy
Add bookmark
$ scd --add [name]
copy
List bookmarks
$ scd --list
copy
Remove bookmark
$ scd --remove [name]
copy
Search and jump
$ scd [partial-match]
copy

SYNOPSIS

scd [--add name] [--list] [--remove name] [bookmark]

DESCRIPTION

scd is a smart directory changer that enhances shell navigation through bookmarks and directory usage learning. It replaces the standard cd command with an intelligent alternative that remembers frequently visited paths and supports fuzzy matching, so partial directory names are enough to navigate.
The bookmark system allows saving important directories by name for instant access. When navigating without an exact match, scd uses its learned history of directory visits to suggest the most likely target, ranking results by frequency and recency of use.
Shell integration makes scd a transparent replacement for cd in bash, zsh, and other shells. Once configured, it intercepts directory changes to build its knowledge base while providing the same familiar interface.

PARAMETERS

--add NAME

Add current as bookmark.
--list
Show all bookmarks.
--remove NAME
Delete bookmark.
-a
All matching dirs.
--help
Show help.

CAVEATS

Requires shell setup. History-based learning. Shell-specific config.

HISTORY

scd provides smart directory changing with bookmarks and learning capabilities, enhancing shell navigation.

SEE ALSO

cd(1), z(1), autojump(1), fasd(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community