← 返回命令列表

Linux command

vdir 命令

文件

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

常用示例

List directory

vdir

Long format with details

vdir

Include hidden

vdir -a

Human readable sizes

vdir -h

Sort by time

vdir -t

说明

vdir lists directory contents in long format by default, equivalent to running ls -l. It displays file permissions, owner, group, size, modification time, and name for each entry. The command is part of GNU coreutils and accepts the same options as ls. It exists as a convenience for users who prefer verbose directory listings without having to specify the -l flag.

参数

-a
Include hidden.
-h
Human readable.
-t
Sort by time.
-r
Reverse order.
-S
Sort by size.

FAQ

What is the vdir command used for?

vdir lists directory contents in long format by default, equivalent to running ls -l. It displays file permissions, owner, group, size, modification time, and name for each entry. The command is part of GNU coreutils and accepts the same options as ls. It exists as a convenience for users who prefer verbose directory listings without having to specify the -l flag.

How do I run a basic vdir example?

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

What does -a do in vdir?

Include hidden.