command to check size of /var/www/html/

Posted on 2007-10-21
Last Modified: 2013-12-16
command to check size of /var/www/html/  in text mode
Question by:teera
    LVL 20

    Expert Comment

    command is:

    du  /var/www/html/

    du stands for disk usage.

    or :

    du  --apparent-size   /var/www/html/

                  print apparent sizes,  rather  than  disk  usage;  although  the
                  apparent  size is usually smaller, it may be larger due to holes
                  in (sparse') files, internal  fragmentation,  indirect  blocks,
                  and the like
    LVL 6

    Accepted Solution

    du -hs /var/www/html/ is one correct command to accomplish this

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now