It is also possible to determine which partition is used for which purpose from the installation point. These partitions are indicated by a number at the end of the “disk name” such as /dev/sda1, /dev/nvme0n1p2, etc. The Linux system may have created different partitions on the disk for Boot, EFI, root, swap, and home. So you can easily find actual disks among a wide range of disks. The disk list contains the following categories for your actual disks: When checking disk space, the df command displays a list of “file systems” with their respective sizes, used space, and free space. Linux disc space in terms of the total number of blocks. The number of utilized blocks on a Linux drive. Linux’s total number of available blocks. The Mount point source is often a disc device in Linux. You may not understand the output well, and some parts are confusing for you to review, so we will give a description in this field to guide you well.Įxplanation of the specified parts in Output: Name shown Also, after entering the above command (df-H), the disk space will be displayed in human-readable format (MB and GB).Įxplanations about the output of the df command The df command, without specifying any options, displays a list containing the names of all installed devices. To check the Linux disk space, type the following command in the Linux command line: df df -H The main syntax of the df command is as follows: df One of the easiest ways to check free disk space in Linux is the Linux df command, which displays available and accessible disk space. btrfs fi df /device/ command: Provides details on how much space a btrfs-based file or mount point uses.du command: provides information about the disk space occupied by the specified files and their subdirectories.df command: It stands for disk-free, which displays the free and usable space of the Linux file system.Stay with us so that you can easily check free disk space in the Linux system. In addition to displaying the information related to the amount of free space available on the mounted file systems, these commands can also obtain information about the amount of space occupied by each of the directories in each file system. The two commands, df and du are commands that provide users with comprehensive and helpful information about disks. Therefore, the safest and easiest way to check the disk space is through the Linux command line, which provides users with all the information they need. Today, various graphical tools provide helpful information about the amount of disk usage in Linux, but not all tools can meet the needs of Linux desktop users. Since the usage of the Linux operating system has recently become more common than other operating systems among users and developers, our article is allocated to checking the free disk space in the Linux system to manage the disk space better and get the desired result from Linux system performance. Some of them may not even know how to check the free disk space and this issue becomes a challenge for them. For example, users may experience problems when installing software or storing new information due to a lack of free disk space, Or for any reason, users need to check the disk space. Sometimes users need to check free and consumed disk space to perform daily tasks and system management.
0 Comments
Leave a Reply. |