Forrest logo
back to the diskonaut tool

diskonaut:tldr:c3cc5

diskonaut: Show file sizes rather than their block usage on the disk.
$ diskonaut --apparent-size ${path-to-directory}
try on your machine

The command diskonaut --apparent-size ${path-to-directory} is used to analyze the size distribution of files and directories in a specific directory. Here's a breakdown of the command:

  • diskonaut: This is the main command that runs the diskonaut tool. Diskonaut is a terminal-based disk space analyzer that provides a visual representation of the disk usage.

  • --apparent-size: This is an option that tells diskonaut to consider the apparent size of files instead of their actual size. In some cases, files may be sparse or compressed, which means their actual size on the disk may be different from their apparent size.

  • ${path-to-directory}: This is a placeholder for the actual path to the directory that you want to analyze. You need to replace ${path-to-directory} with the specific path of the directory you want to examine. For example, if you want to analyze the directory "/home/user/documents", you would replace ${path-to-directory} with "/home/user/documents".

By running this command, diskonaut will analyze the specified directory and display a graphical representation of the disk usage, allowing you to explore the size distribution of files and directories within that directory.

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