Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Discus – Show Colourised Disk Space Usage in Linux

  • Last Updated : 30 Jun, 2021

Discus is the prettier version of the df command to check the disk space utilization in Linux. Discuss 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 Discuss 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 

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!