Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 2 of 2

This is a discussion on How can I get the list of all DIRs in my site? in the Shared & Semi-Dedicated forum
What is the commands I can use to have the list of all the files in my WebSite including the size of the files> ...

  1. #1
    ahw
    ahw is offline
    Loyal Client
    Join Date
    Jun 2003
    Posts
    14

    How can I get the list of all DIRs in my site?

    What is the commands I can use to have the list of all the files in my WebSite including the size of the files>

  2. #2
    Squeegy Boy TeeJay's Avatar
    Join Date
    Feb 2002
    Location
    Nueva Ecija
    Posts
    147
    Is this what you are looking for?

    du -s directory
    shows how much disk space is used by a directory and everything below it. While we work on creating the complicated command needed to automatically check all the directories you are associated with, you can find out how much space is in use by the WWW files for a domain with

    du -s /home/domain/www
    If you don't have anything much in your home directory or mail spool, this comes close to the total space you have in use. (You would know if you did have other things in your home directory, and could use du -s $HOME to check on that.)

    http://www.jaguarpc.com/support/manual/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •