GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Operating System  >  Unix Commands

 Print  |  
Question:  Is ‘du’ a command? If so, what is its use?

Answer:
Yes, it stands for ‘disk usage’. With the help of this command you can find the disk capacity and free space of the disk.


December 12, 2005 06:19:58 #2
 anil piplani   Member Since: Visitor    Total Comments: N/A 

RE: Is ‘du’ a command? If so, what is its use?
 

Thats right.. du gives you "disk used" and not free disk space. some of the options for du are :

du -k   : returns the disk usage in KBs

du -k <directory name> : gives the disk usage by direcotry and all its sub-directories in KBs

     

 

Back To Question