A
1
Answer

How do I check disk space usage in Linux terminal?

I'm new to Linux. Is there a way to check how much disk space is used and free using the command line?

Reply
Your e-mail address will not be shared with anyone.

Answers (1)

L

Yes! You can use the command "df -h" to view disk usage in a human-readable format. It shows how much space is used and available on each mounted drive. For checking how much space each folder takes, use "du -sh /*" to get a summary of top-level directories. These two commands together help you monitor disk space effectively.