You can also use the df command to check the disk space of a specific drive. To do this, simply specify the path to the drive as an argument to the df command. For example, to check the disk space of the /home
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...
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 explainwhat is a file system, we probably would...
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 ...
You can use the df command on Linux and Unix operating systems to acquire a thorough report on the system’s disk space consumption.
Linux command to find biggest top 10 directories in your disk $ du -hs */ | sort -nr | head This will give you the biggest directories in the disk, then you can go inside one of them, preferably the biggest ones and find files to delete using ls command. ...
Linux df command used to view the available and used disk space on your system. Learn syntax of the df command, including how to view specific file systems.
What are the Linux Mount and Umount Commands? In Linux, the term “drive” may not actually refer to a physical drive; a drive might be a special kind of file or a file system designed to look like a drive. For this reason, drives of any type are referred to as devices. When using...
Let’s see what commands you can use to show disk info in Linux. 1. df The df command in Linux is probably one of the most commonly used. It lists the actual “disk space usage” and it can give you information about what hard disks (or current disk space) is being used in the ...
There are two popularways to check disk usage in Linux terminal: du command and df command. Thedu command is more for checking the space used by a directoryand the df command gives you the disk utilization on filesystem level. The gdu tool sorts of combined the functionality of both. ...