← Linux
Check your disk usage in Linux
Updated 12 Oct 2026 · 59,496 views
A good way to check your disk usage for folders on your Linux server is via shell.
- Download Putty.exe for this location http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
- Open the program, in the 'Host Name' type in your IP or Domain name and click 'Open'
- In the terminal, you will be asked to input your username and password, this will usually be your default FTP credentials (Shared) or your root credentials (VPS or Dedicated)
- Once logged in, type the following command: du –h
This will list the folder and sub folder size as well as the total size of your root directory structure.
Did this answer your question?
Thank you. % of readers found this helpful.
Related
Installing htop
Bind Multiple IP Addresses to a Single Network Interface Card (NIC)
Clear Memory Cache on Linux Server
Set the time on a Linux server
Add custom SpamAssassin rules for content filtering
Still stuck?
Open a ticket