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.
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
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
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.
You can also visualize the specific path using the
$ 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
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.
Furthermore, you can add options for modifying the
vizexdf output. For instance,
-a for sorting,
-s for sorting based on name, file type, size, or date, and
-d for descending order output.
$ vizexdf -ads name
At last, use
--help option to know about all available options and a full set of features.
$ vizex --help