command to check size of /var/www/html/huatanon.com

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

Expert Comment

ID: 20119312
command is:

du  /var/www/html/huatanon.com

du stands for disk usage.

or :

du  --apparent-size   /var/www/html/huatanon.com

              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

Accepted Solution

Kieranwest earned 1000 total points
ID: 20119731
du -hs /var/www/html/huatanon.com is one correct command to accomplish this

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses
Course of the Month7 days, 19 hours left to enroll

616 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