Open In App

Discus – Show Colourised Disk Space Usage in Linux

Improve
Improve
Like Article
Like
Save
Share
Report

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    

Discus Show Colourised Disk Space Usage in Linux

Usage

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

$ discus
Discus Show Colourised Disk Space Usage in Linux

 Linux Filesystem Disk Space

Use -d flag to display device names instead of graphs

$ discus -d

Discus Show Colourised Disk Space Usage in Linux

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

Discus Show Colourised Disk Space Usage in Linux

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 


Last Updated : 29 Aug, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads