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 awk used for?

0 Answers  


What is the search command in unix?

0 Answers  


How to get the operating system's information in unix?

6 Answers   IBM, TCS,


How to find $ai_serual resolved path by using unix

0 Answers  


How we will execute previous command in vi editor?

3 Answers   IBM, Infosys,


What is the unix command to confirm a remote host is alive or not?

0 Answers  


Why is awk called awk?

0 Answers  


What is awk good for?

0 Answers  


What is the different between UNIX command and UNIX shell script?

2 Answers  


What is the pipe command?

0 Answers  


what are the different commands used to view the contents of a file?

5 Answers  


How to see unused port number in Solaris?

2 Answers   HCL,


Categories