Forrest logo
back to the duf tool

duf:tldr:7934f

duf: Sort the output by a specified criteria.
$ duf --sort ${select}
try on your machine

The command "duf --sort ${select}" is structured as follows:

  • "duf" is the main command, which stands for "Disk Usage Free Utility". It is a tool used to display disk usage information in a human-readable format.
  • "--sort" is an option/flag that is used to specify the sorting order of the output. It is followed by a parameter, which in this case is "${select}".
  • "${select}" is a placeholder for a variable or value that should be provided when running the command. It represents the sorting criteria or field that is used to sort the disk usage information.

So, when executing this command, you would replace "${select}" with a valid sorting criteria, such as "size", "name", "usage", etc. The command will then display disk usage information (such as file sizes) sorted according to the specified criteria.

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 duf tool