Find the answer to your Linux question:
Results 1 to 2 of 2
Hi... I need to check the free available size on the "/root" before creating a file . Can i do it by using df?if not , can you please specify ...
  1. #1
    Just Joined!
    Join Date
    May 2011
    Posts
    1

    Check for /root size

    Hi...

    I need to check the free available size on the "/root" before creating a file .

    Can i do it by using df?if not , can you please specify me which one to use?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    The 'df' command is fine. IE:
    Code:
    df /
    df /root
    Note that /root is the home directory for the root (administrator) user account, where / is the root directory for the system.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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