repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
EZA.mdMarkdown130 lines4.5 KiBsource raw download

eza — a modern ls (icons, git, tree, colour)#

eza replaces ls. Your ls/ll/la are already eza. Colours come from ~/.config/eza/theme.yml (VHS Phosphor). Call this card with cheat eza, eza-help, or lhelp.

Anatomy: eza [flags] [path] — default is the current dir. Everything below is a ready-made alias; the raw eza … is shown so you can remix. Run alias | grep " eza" to see them all live.


1. THE DAILY THREE#

ls          # eza --icons --group-directories-first         (grid, dirs first)
ll          # eza --long --header --icons …                 (detailed, one per line)
la          # ll + --all                                    (include dotfiles)
l           # eza --oneline --icons                         (bare names, one per line)

--long columns: permissions · size · owner · modified · name.

2. TREE VIEW#

tree        # eza --tree --level=2 --icons    (2 levels deep)
lt  lt3 lt4 # tree at 2 / 3 / 4 levels
lta         # tree, level 2, include hidden
ltf         # full tree, ALL levels
ltg         # tree + git status column

3. GIT-AWARE#

lg          # long + --git           (status column: M=modified A=added ?=untracked)
lga         # lg + all
lgi         # long + --git-ignore    (hide .gitignore'd files)

4. SORTING#

lm   lma    # by modified, newest first   (lmo = oldest first)
lz   lza    # by size, largest first      (lzr = smallest first)
le   lea    # by extension
lk          # by kind/type
lbig        # the 20 largest here
lrecent     # the 20 most-recently modified

Raw: eza -l --sort=size|modified|extension|type|name [--reverse].

5. TIME COLUMNS#

ltr         # relative time   ("3 hours ago")
ltd         # long-iso        ("2026-06-07 14:02")
lc   lac    # show CREATED time
lmu  lmua   # show modified + accessed together

6. DIRS vs FILES ONLY#

ld   lda    # directories only        (lda = + hidden)
lf   lfa    # files only
ldot        # dotfiles only
ll.         # dotfiles, detailed
lsd         # directories, detailed, by size

7. GRID / COLUMNS / ONELINE#

lx   lxa    # grid layout            (lxa = + hidden)
l1   l1a    # one entry per line
lcc         # compact across-columns
lc1         # oneline + classify (trailing */ /= markers)
lh   lha    # human/binary sizes (KiB/MiB)
lp   lpa    # octal permissions (e.g. 0644) alongside rwx
lb          # show block counts
lin         # show inode numbers
llink       # show what symlinks point to

9. RECURSE & DISK#

lr   lra    # recurse 2 levels, long
lrr         # recurse ALL levels
ldisk       # all, by size desc, with --total-size (dir sizes summed)
lall        # the kitchen sink: long + all + git + extended attrs

10. RAW FLAGS WORTH KNOWING#

Flag Does
-l --long detailed columns
-a --all include dotfiles (-aa = include ./..)
-T --tree tree view · pair with -L/--level=N
-R --recurse recurse without the tree drawing
--git / --git-ignore git status column / respect .gitignore
-s --sort= name·size·modified·created·extension·type·none
-r --reverse flip sort order
--group-directories-first dirs on top
-G --grid / -1 --oneline layouts
--icons / --no-icons nerd-font icons on/off
-h --header column headers in long view
--total-size real recursive size of each dir (slow but honest)
--time-style= relative · iso · long-iso · full-iso
--octal-permissions numeric perms

11. COMBOS WITH OTHER TOOLS#

eza -l --sort=size ~/Downloads | head      # biggest downloads, quick
fd -t d -d1 | xargs eza -ld                # list every subdir, detailed
eza --tree --level=2 --git                 # project map + git state
ll **/*.zip                                 # zsh glob + eza (** = recurse)

12. THEME & ICONS#

13. NOTES#

lhelp/eza-help/cheat eza = this card · cheat menu = browse all cheats.