Forrest logo
back to the vdir tool

vdir:tldr:2c3c3

vdir: List with sizes displayed in human-readable units (KB, MB, GB).
$ vdir -h
try on your machine

The command "vdir -h" is used to display a detailed list of files and directories in a directory, including specific information about each entry.

The "vdir" command stands for "vertical directory," and it is a modified version of the "ls" command in Unix-like operating systems. It provides a vertical listing format instead of the traditional horizontal format of the "ls" command.

The "-h" option in the command is a flag or parameter, which stands for "human-readable." When used with the "vdir" command, it displays file sizes in a more easily understandable format, such as using units like kilobytes (KB), megabytes (MB), and gigabytes (GB) instead of just bytes.

Therefore, executing the "vdir -h" command will give you a vertical listing of the files and directories present in the current directory, with file sizes displayed in human-readable format.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the vdir tool