How To Graphically Display Disk Usage In Linux Terminal Using Vizex?

Vizexdf is yet another command to display directory data in terminal.

Tweet
Share
WhatsApp

If you want to check free and available space on your Linux system, df is the most popular command available to use.

However, the output df command generates might be confusing or unpleasant to see. So, you may switch to the graphical application to get a better understanding of your free disk space.

What if you can live in your terminal and still see your disk space usage graphically? Yes, Vizex is the terminal tool rightly made for it.

What Is Vizex/Vizexdf?

Vizex is a free and open source command-line app for the Linux system. It displays free and available disk space graphically for all partitions and media on the machine.

Display disk space using vizex
Display disk space

The app is written and developed using the Python programming language by Beka Modebadze.

Along with the disk usage, you can also print directory data in your terminal using yet another available command vizexdf.

Interestingly, Vizex is a highly customizable utility that also lets you modify the colors and style of the display to your preferences.

Moreover, it also supports other functionality such as sort data, show hidden files and folders, export data as CSV or JSON file.

How To Install Vizex On Linux?

If you’re using Arch Linux or a distribution that has AUR (Arch user repository) support, you can easily install vizex package using any pacman helper.

$ yay -S vizex

For other Linux distros, you first need to have Python (>=3.7) and pip package manager on your system. Once you install these dependencies, you can run a single command to install vizex using pip:

$ sudo pip install vizex
Install vizex using pip
Install vizex using pip

For complete detail about installation, check out the vizex’s GitHub repository.

How To Use Vizex To Display Disk Usage Graphically?

If you’ve successfully installed vizex, type vizex in your terminal to display the free and used space. You can also use option –details for getting additional information, like fstype and mount point, for each partition.

Display complete disk usage detail using vizex
Display complete disk usage detail

You can also visualize the specific path using the --path options.

$ vizex --path <full path>

To change the colors and style of the output, you can use options like:

  • -d –header <color>
  • -s –style <attribuute>
  • -t –text <color>
  • -g –graph <color>

And if you’re running Linux on a laptop, you can also get to know the battery information.

$ vizex battery
Display battery information using vizex
Display battery information

Next, if you’re interested in knowing the data detail of a current working directory, run vizexdf command. It prints file or folder names with sizes, file types, and last modified date.

Display directory data using vizexdf
Display directory data using vizexdf

Furthermore, you can add options for modifying the vizexdf output. For instance, --all or -a for sorting, --sort or -s for sorting based on name, file type, size, or date, and --desc or -d for descending order output.

$ vizexdf -ads name
Display hidden files using vizex
Display hidden files

At last, use --help option to know about all available options and a full set of features.

$ vizex --help
Vizex
Vizex

Sarvottam Kumar

Sarvottam Kumar

Sarvottam Kumar is a software engineer by profession with interest and experience in Blockchain, Angular, React and Flutter. He loves to explore the nuts and bolts of Linux and share his experience and insights of Linux and open source on the web/various prestigious portals.
More From Fossbytes

Latest On Fossbytes

Find your dream job