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...
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....
To liberate disk space in Linux, begin by pinpointing the files or directories consuming the most storage. The du command can help you evaluate the space usage of particular directories. Once you have identified the directories or files that use a lot of disk space, you can delete, move, or...
1. Find File Size in Linux Using the du Command 2. Find File Size in Linux Using the ls Command 3. Find File Size in Linux Using the stat Command 4. Find File Size in Linux Using the wc Command Conclusion Hemanta Sundaray Whether you need to manage disk space, transfer files over th...
When checking disk space on Linux, you can get a deeper look by sending the output format described by “valid field name” as below. Try the following command as an example: df –output=field1,field2,... df –output=source,used,avail /data/ Sample outputs: Filesystem Used Avail /dev...
Method 1: Checking free disk space in Linux with df command (and understanding its output) When you use the df command to check disk space, it will show a bunch of ‘file systems’ with their size, used space and free space. Your actual disks should normally be listed as one of the ...
Linux df command Thedfcommand stands for "disk-free," and shows available and used disk space on the Linux system. df -hshows disk space in human-readable format df -ashows the file system's complete disk usage even if the Available field is 0 ...
Mounted on. The mount point of the file system. How to Check File Space Usage in Linux Using the du Command Thedu, or disk usage command, estimates file space usage in Linux. It provides detailed information about the disk space used by files and directories. ...
Filesystem Size Used Avail Use% Mounted on /dev/sda 157G 3.0G 147G 2% / The above command is equivalent to sudo df -h /. How to Check Linux Disk Space with the du Command Use the du command to analyze disk space at a more granular level. This command summarizes the space usage fo...