Forrest logo
back to the vdir tool

vdir:tldr:7f5e0

vdir: List files and directories sorting entries by modification time (newest first).
$ vdir -t
try on your machine

The command "vdir -t" is used to list the contents of a directory in a vertical format, sorted by modification time.

Here is what each part of the command represents:

  • "vdir" is a command that stands for "vertical directory listing." It is similar to the "ls" command in Unix-based systems but provides a more detailed output.
  • "-t" is an option or flag that is passed to the "vdir" command. It instructs the command to sort the directory contents based on their modification time, with the most recently modified files listed first.

By combining these two elements, "vdir -t" generates a vertical listing of the directory contents, showing the most recently modified files at the top.

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