• How could I learn the folder's size on LINUX-SERVER?

    • views 1033

    I need to find out the size of a folder and all its attachments on linux hosting. I`m not successful using the file manager, as well as via FTP.

    Solutions (1)
    To do this, go to the server by ssh and execute one of these commands: find . -maxdepth 1 -type d -exec du -hs {} \;\nили \ndu -hs *
    Answers (1)
    du -h --max-depth=1 /var/www (or write your full path from the root) below will display the information in a column with the size and name of the directory
We do our best for you!
Rate the article
Tell the world about it

Users (0) 0 of 5

  • In order to provide you with the best online experience this website uses personal data (cookies, IP, email, photo, name, website, etc). By using our website, you agree to our use of your personal data. More info we get commissions from the hostings, but our ratings are honest and the reviews are real.
  • Important

    We are in BETA. We need your help!

    Anonymous reviews are not allowed!

    Every month we add $50 to the account of a randomly selected user.*

    In addition, you will receive a free permanent link to your site after you leave an honest review!