To check disk space in Linux, you can use the df command. Here's how you can use it:
Open a terminal on your Linux system.
Type the following command and press Enter:
bash
df -h
The -h option is used to display the disk space in a more human-readable format, showing sizes in gigabytes (GB) or megabytes (MB) instead of blocks.
You will see a table that lists different file systems along with their disk usage information. The "Size" column represents the total size of the file system, the "Used" column shows the amount of disk space already utilized, the "Available" column displays the free space remaining, and the "Use%" column represents the percentage of space used.
This command will provide an overview of the disk space usage on your Linux system.
Alternatively, you can use other disk space monitoring tools such as du (disk usage) or graphical disk analyzers like Baobab or KDirStat to get more detailed information about disk space utilization within specific directories or partitions.