On the internet, you will find plenty of tools forchecking disk space usagein Linux. However, Linux has a strong built-in utility called ‘df‘. The ‘df‘ command stands for “disk filesystem“, it is used to
6 performance tools you should know in Linux 5 Ways to Check disk size in Linux 4 Ways to Check Disk Partition with Examples in Linux How I Fixed a disk performance issue in Minutes – A Step by Step Guide to Optimize Linux System Iotop is an interactive real-time I/O usage monitoring...
Thefindcommand isn’t exclusively a disk management tool, but it’s incredibly helpful in identifying large files that are lurking in your system. General syntax: find [PATH] -type f -size +[SIZE] Sample output: $ find /home/fosslinux -type f -size +100M /home/fosslinux/Videos/big_vid...
The examples I've demonstrated so far have the same columns in the output. If you want different output, you can customize the fields. For instance, suppose you don't want to see the size or amount of disk used: $df-h--output=source,avail,pcent,target Filesystem Avail Use% Mounted ...
Using df command to check disk space in Linux Let’s see how can you use the df command to get various kind of disk space information in Linux. Just ‘df’ to see disk information The main and plain ‘df’ command will output the entire list of file systems in your Linux setup. To...
You can use it to check the size of directories as well as disk utilization. The built in sorting feature makes it easier to use as you don't need to combine the sort command here. Gdu: Disk usage checking in Linux terminal Gduis a tool written in Go (hence the ‘g’ in gdu). ...
The following examples show how you can use thefallocatecommand to allocate space to a file in Linux. Allocate Specific File Size Use the-l(--length) option to allocate a specific size to a file. For example, to allocate 1GBof space to a file namedexample.txt, run the following command...
using--totaloption with df command it displays elide all entries insignificant to available space and produce a grand total. Conclusion In this tutorial, we covered how to displays information on the utilization of the system using the df command in the Linux operating system with available options...
This article will teach you to check disk space with the df command in Linux and how to use df command with multiple options in Linux/Unix.
An inode is a data structure in Unix and Linux file systems, which holdsinformationon a file or directory such as its size, owner, device node, socket, pipe, etc., except da. When used with the-ioption, the df command provides information on the filesystem inodes usage. ...