← 返回命令列表

Linux command

nnn 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start file manager

nnn

Start in directory

nnn [/path/to/dir]

Show hidden files

nnn -H

Detail mode

nnn -d

Don't use color

nnn -c

Open with editor

nnn -e

Start with bookmarks

nnn -b [bookmark-file]

说明

nnn is a terminal file manager. Fast, minimal, and keyboard-driven. The tool navigates directories. Supports plugins and file operations.

参数

-H
Show hidden files.
-d
Detail mode.
-c
No color.
-e
Open text files in editor.
-b _FILE_
Bookmark file.
--help
Display help information.

FAQ

What is the nnn command used for?

nnn is a terminal file manager. Fast, minimal, and keyboard-driven. The tool navigates directories. Supports plugins and file operations.

How do I run a basic nnn example?

Run `nnn` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -H do in nnn?

Show hidden files.