Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 19-06-2009
Member
 
Join Date: Jan 2009
Posts: 16
How to check linux folder size ?

Hi

In linux i made one folder in that i save some data. Now i want to check my folder size in linux can you told me how to do that ? My folder name is work it including the subfolders and files.
Reply With Quote
  #2  
Old 19-06-2009
Member
 
Join Date: Dec 2008
Posts: 51
Re: How to check linux folder size ?

try stat filename for complete info on file along with size. you can run the command "du". This is disk usage reporting. It has many options (which you can get the full detail of with "man du" at your command prompt). The ones I normally use are -h - for human, and -s for summarise.

Quote:
du -s /dir/
Reply With Quote
  #3  
Old 19-06-2009
Member
 
Join Date: Aug 2008
Posts: 84
Re: How to check linux folder size ?

following Command displays the size of the folder /home/andrew.

Quote:
du -s /home/andrew
19112204 /home/andrew
option -s displays a summarized size, or total size. If you do not use the -s option then it will list the size of all files and folders in the path /home/andrew recursively.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to check linux folder size ?"
Thread Thread Starter Forum Replies Last Post
Windows folder becomes very big in size Flamingo-R Operating Systems 5 14-12-2010 06:54 AM
Windows Folder Size 24gb aneeqa Windows Software 5 14-09-2010 06:46 AM
windows folder is increasing its size!! abhi123tri Operating Systems 1 17-06-2010 02:52 PM
How to see folder size in Windows Explorer Salome Operating Systems 5 14-03-2010 05:29 AM
How to determine folder size michaelh613 Vista Help 5 13-04-2009 06:13 PM


All times are GMT +5.5. The time now is 02:53 PM.