nnn is a simple and fast terminal file manager that helps you browse, organize, and manage files from the command line. It supports bookmarks, plugins, hidden files, multiple sorting options, and many other features. It is lightweight, keyboard-driven, and designed to provide a smooth file management experience.
Here’s what you can do with nnn in Termux:
- Browse files and directories.
- Manage files from the terminal.
- Show hidden files.
- Sort files in different ways.
- Open files with your preferred editor.
- Use bookmarks and plugins.
- Navigate quickly with keyboard shortcuts.
Install nnn in Termux
Below are the simple commands to install nnn in Termux. Copy and run each command one by one to install the tool.
Install nnn.
pkg install nnn -yVerify the installation.
nnn -Vnnn is now installed and ready to use.
Use nnn in Termux
After installing nnn, you can use different commands to browse directories, view hidden files, sort files, and perform various file management tasks
Start nnn in the current directory.
nnnYou can navigate nnn using the following keyboard shortcuts:
- ↑ / ↓ Arrow Keys – Move between files and directories.
- ← Arrow Key or Backspace – Go to the previous directory.
- → Arrow Key or Enter – Open the selected file or directory.
- q – Quit the nnn file manager.
- / – Search for files or directories.
- h – Show or hide hidden files.
- Space – Select or deselect a file.
- ? – Display the keyboard shortcuts and help screen.
Display the help menu.
nnn -hThe help menu will display the available options.
Show hidden files.
nnn -HStart in detail mode.
nnn -dDisplay information about the current file.
nnn -iOpen files only when Enter is pressed.
nnn -oOpen a bookmarked location.
nnn -b aRun a plugin.
nnn -P pStart with a persistent session.
nnn -SLoad a saved session.
nnn -s mysessionSort files by modification time.
nnn -T tShow the installed version.
nnn -VStart nnn in a specific directory.
nnn /sdcardUse these available commands and keyboard shortcuts to browse directories, open files, manage folders, and customize the file manager.
End Note
nnn is a simple and fast terminal file manager for browsing and managing files. It is easy to use, lightweight, and provides many useful features for working with files from the terminal.
