Modern CLI tools cheat sheet
The old way → the new way. Faster, friendlier replacements for grep, find, ls, cat, and cd — each with a searchable, copy-paste command reference.
| The old way | The new way | Why switch |
|---|---|---|
grep | ripgrep | Search code recursively and blazingly fast; respects .gitignore by default. |
find | fd | Find files with a simple syntax and sane defaults. |
ls | eza | List files with git status, icons, and a built-in tree view. |
cat | bat | View files with syntax highlighting, line numbers, and git markers. |
cd | zoxide | Jump to directories by frecency — a cd command that learns your habits. |
Ctrl-R / history|grep | fzf | Fuzzy-find anything — files, shell history, processes, git branches. |
Pick a tool
fzf
replaces Ctrl-R / history|grepFuzzy-find anything — files, shell history, processes, git branches.
ripgrep
replaces grepSearch code recursively and blazingly fast; respects .gitignore by default.
fd
replaces findFind files with a simple syntax and sane defaults.
eza
replaces lsList files with git status, icons, and a built-in tree view.
bat
replaces catView files with syntax highlighting, line numbers, and git markers.
zoxide
replaces cdJump to directories by frecency — a cd command that learns your habits.