← 返回命令列表

Linux command

lf 命令

文本

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

常用示例

Start file manager

lf

Open specific directory

lf [/path/to/dir]

Start with command

lf -command "[set hidden]"

Print selected files

lf -print-selection

Use specific config

lf -config [config.lf]

说明

lf is a terminal file manager. It provides fast navigation with vim-like keybindings. The tool is written in Go for portability. It supports preview, bulk operations, and scripting.

参数

-command _CMD_
Execute command on start.
-config _FILE_
Config file path.
-print-selection
Print selection on exit.
--help
Display help information.

FAQ

What is the lf command used for?

lf is a terminal file manager. It provides fast navigation with vim-like keybindings. The tool is written in Go for portability. It supports preview, bulk operations, and scripting.

How do I run a basic lf example?

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

What does -command _CMD_ do in lf?

Execute command on start.