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...
To show information exclusively for a particular file system, supply its name or the mount point to the df command. For example, to see the space available on the file system mounted to the system root directory (/), you may use eitherdf /dev/nvme0n1p3ordf /. $df / Filesystem 1K-bl...
This article explained how to check disk space in Linux using five different methods. Next, learn how to use thefsck commandto run a filesystem check as preventive maintenance or when there is an issue with your system.
Checking disk space on Linux using the command line is not just an idle operation. It is now a recommended practice before you attempt to install anything new or upgrade existing packages. In this short but comprehensive guide, we’ll show you how to check disk space on Linux systems. We’...
2. Display disk partitions using fdisk command in Linux 3. Check Hard disk partitions using sfdisk in Linux 4. Check Linux disk partitions using cfdisk 5. Find disk partitions in Linux using blkid 6. Get disk partition details using hwinfo tool ...
fdiskis a command-line disk partitioning tool that is part of theutil-linuxutility package. It enables users to create, manage, and delete disk partitions via a dialog-driven interface. Follow the steps below to partition a disk in Linux usingfdisk. ...
In that case, you can filter those results using the grep command: lsblk -f | grep -v loop Wrapping Up Through this tutorial, I explained how you could get the UUID of a disk partition in Linux. And if you have any other questions, feel free to let me know in the comments. ...
Step 1Create a partition of the disk Firstly, connect the disk to your Linux system if you haven't already and launch the Terminal window on it. You can enter the following command to check it: sudo fdisk –l. Now, to create a partition, enter the command "fdsk" in the following for...
Delete a Partition in Linux using fdiskTo Delete partition first, we need to list out the available partitions and select the appropriate disk. For that, we can use the fdisk command to list out and delete the selected partition.If you don’t know what is fdisk read these short ...
How to Check Disk Space in Linux Using GUI Apps Most Linux graphical desktop environments do provide utilities that offer some of the same functionality as the command line tools above. In Gnome, for example, theDisksapplication can provide much of the information you may need. ...