Terminal Cheat Sheet#
Quick card in-shell: run cheat (or Alt-h). Deep dives: cheat <topic>,
browse all with cheat menu.
Navigation & files#
| Command | Action |
|---|---|
z <dir> / zi |
zoxide jump / interactive pick |
.. ... .... |
up 1/2/3 dirs |
mkcd <dir> |
mkdir + cd |
y |
yazi file manager (cd on quit) |
Alt-←/→/↑ |
dir history back / forward / up (dirhistory) |
l ll la |
eza one-line / long / long-all |
lt lt3 ltg |
eza tree (2 / 3 levels / with git) |
lg lga |
eza long with git |
lm lz lk |
sort by modified / size / type |
ld lf ldot |
dirs-only / files-only / dotfiles |
(Full eza family in config/aliases.zsh.)
Search (fzf)#
ff files · fdd dirs · frg <term> text · fbin programs · fwhich command
· fkill process · fgb/fgl/fgs git branches/log/status · fzf-help list.
History & palette#
Ctrl-R atuin fuzzy history (up-arrow stays on substring search) ·
Alt-p / pal fuzzy palette over all aliases + functions.
Hash & file toolkit#
| Command | Action |
|---|---|
hf <file> |
all hashes of a file, timestamped |
hmd5/hsha1/hsha256/hsha512 <file> |
single-algorithm, timestamped |
hdir <dir> |
hash every file in a dir |
hcmp <a> <b> |
compare two files by hash |
hverify / hchecksum |
verify against a checksum file |
hdupes <dir> |
find duplicates by hash |
hforensic hbig hsmall |
forensic helpers |
hash-help (hhelp) |
full hash reference |
Encode / URL#
b64-encode / b64-decode · url-encode / url-decode.
HTTP servers#
http-server · http-8000 · http-8080.
Git#
gcommit (summary commit) · gcommitdate <msg> (timestamped) ·
glastupdate (last commit time) · abbreviations: g gs ga gc gp gl gco gb gd
(expand inline via zsh-abbr) · lg lazygit.
Web search#
google <terms> · ddg <terms> · bing <terms> · web_search <engine> <terms>.
Maintenance#
flushdns · clearcache · clearlogs · emptytrash · quickclean ·
deepclean · update-all.
Misc#
extract <archive> (x) unpack anything · copypath [dir] · copyfile <file>
· ESC ESC prepend sudo to the current/previous command · verse daily verse
· cross [ring|rain|both] animated splash · reload re-source config.