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 get a full summary of available and used disk space usage of the file sys...
It's not fun to run out of disk space, so monitoring your disk usage is important. Thencducommand makes it easy and interactive. Tryncduthe next time you're curious about what you've got stored on your PC, or just to explore your filesystem in a new way....
Disk Space Check in Linux: 5 Methods Performing disk space checks in Linux ensures enough storage is available for system operations and application usage. The following text presents common ways to check disk space in Linux. Method 1: Check Disk Space via df Command Thedf(diskfree) command le...
A Step-by-Step Guide on How to Use the df Command to Check Disk SpaceHere's a step-by-step guide on how to use the df command to check disk space −Open a terminal window − The first step is to open a terminal window on your Linux system....
You can use the lsblk command to see all the disks and partitions on your system. Once you have the disk partition name, you can mount it in this fashion: sudo mount /dev/sdb2 /mnt I hope this gives you a pretty good idea about checking hard drive space on Linux. Let’s see how...
Before discovering the two methods of checking disk space, let’s see the prerequisites for these commands: Prerequisites A system running a mainstream Linux distro An account with root or sudo privileges Access to the command line or terminal ...
Use the –o parameter to show all the fields while displaying the disk space usage information on the Linux terminal: df --o You can also check the complete filesystem and disk usage information by passing the -a or –all argument with the df command tool and this will present you with...
The easiest way to examine what's left for storage on your disk drive is theducommand. This command line utility estimates file space usage. Like all Linux tools,duis very powerful, but knowing how to use it for your particular needs is helpful. I always consult the man page for any uti...
Check disk size with lsblk command in Linux The best way to check disk size in Linux is using lsblk command. Open the terminal and type lsblk. Then press enter. This will print a list of all the disk devices on your system, as well as their size, type and mount point. ...
The “df” command is for “disk filesystem” and is a great tool to know about the disk space usage on Linux Systems. The df command displays the amount of disk space available on the file system. If no file name is given, the space available on all currently mounted file systems is...