linuxkernel.com

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 wayThe new wayWhy switch
grepripgrepSearch code recursively and blazingly fast; respects .gitignore by default.
findfdFind files with a simple syntax and sane defaults.
lsezaList files with git status, icons, and a built-in tree view.
catbatView files with syntax highlighting, line numbers, and git markers.
cdzoxideJump to directories by frecency — a cd command that learns your habits.
Ctrl-R / history|grepfzfFuzzy-find anything — files, shell history, processes, git branches.

Pick a tool

fzf

replaces Ctrl-R / history|grep

Fuzzy-find anything — files, shell history, processes, git branches.

ripgrep

replaces grep

Search code recursively and blazingly fast; respects .gitignore by default.

fd

replaces find

Find files with a simple syntax and sane defaults.

eza

replaces ls

List files with git status, icons, and a built-in tree view.

bat

replaces cat

View files with syntax highlighting, line numbers, and git markers.

zoxide

replaces cd

Jump to directories by frecency — a cd command that learns your habits.