Forrest logo
back to the gdu tool

gdu:tldr:f2157

gdu: Only print the result, do not enter interactive mode.
$ gdu --non-interactive ${path-to-directory}
try on your machine

The command "gdu --non-interactive ${path-to-directory}" is used to get disk usage statistics of a particular directory. Here's the breakdown of the command: - "gdu" stands for "gnu disk usage" and is a command-line utility used to estimate the space utilized by files and directories on a storage system. - "--non-interactive" is an option that tells the command to run in non-interactive mode, meaning it will not prompt for any user input or confirmation during the process. - "${path-to-directory}" is a placeholder indicating the actual path to the directory you want to analyze. You need to replace this placeholder with the specific path to the directory you wish to examine for disk usage statistics. When you run this command with the appropriate directory path, it will execute the gdu utility in non-interactive mode and provide you with the disk usage information for the specified 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 gdu tool