The first command to check the disk partition is using thefdiskcommand with the-loption. It is used to create and manipulate the disk partition, and using the-lflag with it lists the partitions table. To check the partitions of all the block devices, use the following command. To run thi...
[CDATA[ Users can easily check the configuration of the system hardware on a Windows machine by opening the Computer Information app. This can be easily verified on the Linux machine via the GUI. But on a headless Linux system it is not so easy to verify this information. Linux has plenty...
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 ...
The command"df -hT /home"is used to display disk space utilization of/homedirectory or partition in a human-readable format. The-Toption shows the filesystem type (ext4) along with other information. df -hT /home Check /home Directory Disk Space 5. Check Disk Space Usage in Kilobytes To ...
Here’s a run-through of the information items that you can see in the command’s output: Filesystem: This entry shows the real hard disk drives, logical (partitioned) drives, and temporary or virtual drives. Size: The filesystem’s actual disk size. ...
In this article we shall take a quick look at some commands that can be used to check for unallocated free space on a disk drive like usb flash drive or ssd. If you prefer some gui application then, Gparted, Gnome Disks, KDE Partition Manager are excellent options on linux. The commands...
For example, to display the output of every ext4 partition inhuman-readableformat, revealing just the filesystem name and size and the percentage of the utilized space you would use: df -h -t ext4 —output=source,size,pcent Output:
By default,dfdisplays values in 1-kilobyteblocks. The output has several columns: Filesystem. The structure used to organize data. This includes physicalhard drives, logical (partitioned), and virtual or temporary drives. 1K-blocks. The filesystem size displayed as 1 kilobyte blocks. ...
that begin with /dev/ such as /dev/sda1/. In this case dev stands for device and indicates that the item following it is a physical drive or a partition on a physical drive. Finally, you’ll notice that by default the df command outputs the size of the drive or partition in ...
You can use different commands such as fdisk, parted, du, df, lsscsi, lsblk, dmesg, blockdev to check disk space in Linux. Most of these commands will display total, used and available size per disk or partition.