23 views
in Linux by (241 points)

1 Answer

0 votes
by (241 points)

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.

Related questions

1 answer 17 views
asked May 6 in Linux by Luke (190 points)
0 answers 8 views
asked Aug 14 in Linux by James (241 points)
1 answer 57 views
asked May 9 in Linux by James (241 points)
1 answer 24 views
asked Aug 14 in Linux by James (241 points)
1 answer 27 views
asked May 9 in Linux by James (241 points)
Welcome to en.nirbik.com, where you can ask questions and receive answers from other members of the community.
...