Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How would you find the size of a file or directory?



How would you find the size of a file or directory?..

Answer / hr@tgksolutions.com

The du command, standing for "disk usage", can be employed to ascertain the size of files and directories. du -sh filename would display the size of a file, while du -sh directory_name reveals the total size of a directory. The -s provides a summary and -h displays sizes in a human-readable format (like KB, MB). It's an invaluable command for monitoring space utilisation and managing storage effectively.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What is the use of touch command in there?

1 Answers   Accenture,


What command is used to check the current users?

0 Answers  


how to make IGNITE-BACKUP in HP-UX?

4 Answers   HP,


What are bash commands?

0 Answers  


What is the difference between pipe (|) and tee command in unix

14 Answers   Cap Gemini, TCS,


what these two commands prints "echo test","cat test"?

6 Answers   TCS, Wipro,


What command will bring user back to their home directory in UNIX?

13 Answers   IBM, Wipro,


What Command is used to make a directory?

4 Answers   IBM,


What does #!/ Bin sh do?

0 Answers  


fork in unix ?

4 Answers   BFL,


How would you find the size of a file or directory?

1 Answers  


Which command is used to find whether the system is 32 bit or 64 bit?

0 Answers  


Categories