Open In App

Discus – Show Colourised Disk Space Usage in Linux

Discus is the prettier version of the df command to check the disk space utilization in Linux. Discus has several cool features such as color, bar graphs, and smart formatting of numbers. You can also configure it in your own way after copying its main configuration file /etc/discusrc to ~/.discusrc.

Installation

For installing Discus in your Debian/Ubuntu system, use the following command:-



$ sudo apt install discus    

Usage

After you are done with installing, you can type the following command to get the details with the default configuration. 



$ discus

 Linux Filesystem Disk Space

Use -d flag to display device names instead of graphs

$ discus -d

To disable it, use the -s flag like this:

$ discus -s

Use -p flag to display the number to right of the decimal place:

$ discus -p 7

You can also use  -t, -g, -m, -k  flag to display sizes in terabytes, gigabytes, megabytes, or kilobytes

For configuring according to your preference, copy the main configuration file  /etc/discusrc to ~/.discusrc like this:

$ sudo cp /etc/discusrc ~/.discusrc

Perform customization according to you on the file that you created by using this command:

$ vim ~/.discusrc

To check the version and Manuel page use the following command:

discus -v
man discus 

Article Tags :