• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Saturday, May 17, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Linux

Discus – Show Colourised Disk Space Usage in Linux

How VPS by How VPS
November 2, 2018
in Linux, Operating System
0
0
SHARES
41
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Discus Command Examples

In our last article, we have explained how to use df (disk filesystem) utility to report file system disk space usage in Linux. We have discovered yet a another great utility for the same purpose but with a prettier output, called discus.

Discus is a df-like, highly configurable utility for checking disk space utilization in Linux, intended to make df prettier with fancy features such as colored output, bar graphs, and smart formatting of numbers. To configure it, you may copy its main configuration file /etc/discusrc to ~/.discusrc and do your customization in there.

Read Also: Pydf an Alternative “df” Command to Check Disk Usage in Different Colours

The package discus is available to install from the default system repositories using package manager on Linux distribution as shown.

$ sudo apt install discus	#Debian/UBuntu
$ sudo yum install discus	#RHEL/CentOS
$ sudo dnf install discus	#Fedora 22+

After installing discus, learn how to use discus with the following examples.

Discus Command Examples

Run the discus command with the default settings.

$ discus
Discus – Show Colourised Disk Space Usage in Linux

Check Linux Filesystem Disk Space

To disable the color, use the -c flag.

$ discus -c

To display device names instead of graphs, use the -d flag:.

$ discus -d
Discus – Show Colourised Disk Space Usage in Linux

Check Disk Space Usage By Devices

If do not want to use smart formatting, you can disable it using the -s switch as shown.

$ discus -s

You can specify the number of digits to right of decimal place using the -p flag.

$ discus -p 3

To display sizes in kilobytes, gigabytes, megabytes, or terabytes use the -k, -g, -m, or -t flags respectively. For example.

$ discus -m

Last but not least, if you want to configure it to your preference, copy its main configuration file /etc/discusrc to ~/.discusrc as shown.

$ sudo cp /etc/discusrc ~/.discusrc

Then open the newly created file and perform your customization.

$ vim ~/.discusrc
Discus – Show Colourised Disk Space Usage in Linux

Discus Configuration Customization

For more information, see the discus man page.

$ man discus 

You may also like to read these following useful articles on Linux disk space usage.

  1. 10 Useful du (Disk Usage) Commands to Find Disk Usage of Files and Directories
  2. How to Find Out Top Directories and Files (Disk Space) in Linux

That’s all! Discus is a simple utility intended to make df command prettier. Try it out and let us know of thoughts in the comments section below.

Source: tecmint.com

Tags: Linux Commandslinux guidelinux vps setup guide
Previous Post

How to Find and Sort Files Based on Modification Date and Time in Linux

Next Post

How to View Configuration Files Without Comments in Linux

Next Post

How to View Configuration Files Without Comments in Linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet