tldr/pages/common/nnn.md
Scott Evans 5dd239e32d
nnn: update page (#13605)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-09-15 21:21:38 +02:00

627 B

nnn

Interactive terminal file manager and disk usage analyzer. More information: https://github.com/jarun/nnn.

  • Open the current directory (or specify one as the first argument):

nnn

  • Start in detailed mode:

nnn -d

  • Show hidden files:

nnn -H

  • Open an existing bookmark (defined in the NNN_BMS environment variable):

nnn -b {{bookmark_name}}

  • Sort files on [a]pparent disk usage / [d]isk usage / [e]xtension / [r]everse / [s]ize / [t]ime / [v]ersion:

nnn -T {{a|d|e|r|s|t|v}}

  • Open a file you have selected. Select the file then press o, and type a program to open the file in:

nnn -o