Hosting in Europe

Portal Home > Knowledgebase > Linux tutorials > How to determinate linux file or folder usage


How to determinate linux file or folder usage




In order to determine the space consumption of a file or folder
For example to determine the disk space for the folder /home

Run the command bellow in command line (ssh)
du -sh /home

If you want to determine the disk space for each file separately in folder /home
Run the command bellow in command line (ssh)

du -sh /home/*

Best regards



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Language:
CUSTOMER TESTIMONIALS
John Smith
Since i have migrated my website to IPhost I receive quality services and good 24/7 support. In my opinion it's the best host MD Data Center
Bob Mitchel
Much better than my previous company, I also got help with software installation. VPS in Moldova is a good solution