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.
Utilize thedfcommand accompanied by the-hflag in Linux to see the free disk space. Q. Can I check the disk space on a remote Linux server? You can check the disk space on a remote Linux server using the df command. Simply SSH into the remote server and run the df command as you ...
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. ...
Next, we will plug in the8GBremovableUSBdrive. This is identified as/dev/sdband is mounted on the/media/tecmint/USBmountpoint. To confirm this, we will run thelsblkcommand. $ lsblk Check Mounted Linux Partition The partition and mountpoint might vary according to your setup. For instance, ...
Method 1: UsebadblocksTool to Check Bad Blocks on Hard Disk in Linux Using thebadblock toolin your Linux terminal, you can find out the overall status of your hard disk. It will take a while to generate a full-body report. This terminal command can get the read-only permission, so it...
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. ...
In addition to the command line interface, Linux provides graphical user interface (GUI) tools for checking disk space. These tools are user-friendly, making it easier for beginners to check their disk space usage. Some popular GUI tools include GNOME Disks utility, KDE Partition Manager, and ...
So, this is how you can use the fdisk command to create and delete the partition on Linux. fdisk is a very useful command-line tool when used efficiently and correctly. Make sure you have the back of the partitions where you are going to use the fdisk command. Good day!