Junior — Middle
What commands do you use to monitor disk space usage?
sobes.tech AI
Answer from AI
The following commands are usually used to monitor disk space usage in Linux:
-
df— shows information about free and used space on file systems. For example,df -hdisplays data in a human-readable format (with units). -
du— shows the size of specific files and folders.
Example usage:
df -h
Displays a list of all mounted file systems with information about size, used space, and available space.