Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Get the disk space usage per user


    I want to get the disk space usage of each user on the machine. I Have found the command -du but how can I consultate the usage per user?

    The only thing I can is to consultate the usage of maps...

    PS: Sorry for my poor english...



  2. #2
    Linux Newbie raghaven.kumar's Avatar
    Join Date
    Mar 2008
    Bangalore, India
    if you mean usage of the users in the home directories, you can do
    cd /home
    du -h --max-depth=1

  3. #3
    yes but it is for a backup script that users can use ( for school job )

    One of the points that have to be implemented is :

    -possible to consultate the capacity data ( also per user )

    How can I do this? because with above command I have errors when user run this, because they don't have permission

  4. $spacer_open
  5. #4
    Just Joined!
    Join Date
    May 2009
    Maximum city
    well i didnt fully understand ur question............but try sudo <command>

Posting Permissions

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