How to find out the size of more files?

Steve Holmes steve at holmesgrown.com
Wed Jun 5 08:54:37 EDT 2002


To do this, use the 'ls' and 'du' commands.  First, type 'man ls' to
give you all the available options; the 'ls' command lists out the
files in question.  Again, read the man page for this, you will learn
much much more than what we spoon feed you here from the list.

The 'du' command lists disk usage by directory.  When it lists the
size of '.', the current directory, that is inclusive of all subdirs
under that one.  Again, the man page gives you all sorts of options
for this command as well.  I personally don't remember them off the
top of my head but I know I can always find them in the man page.
Again 'man du' will provid you with this information.

Remember, leave out the tick marks from the examples above.

On Tue, Jun 04, 2002 at 01:04:52PM +0300, Octavian Rasnita wrote:
> Hi all,
> 
> Please tell me:
> 
> 1. How to find out the size of a directory and all subdirectoreies (the size
> of all files)
> 2. How to find out the size of the files from the current directory only
> even though it has some subdirectories with files.
> 3. How to "select some files than to find out the size of these files.
> For example, I want to find the size of all .zip files from a directory and
> then the size of all .shtml files from the same directory.
> 
> Thank you.
> 
> Teddy,
> orasnita at home.ro
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup




More information about the Speakup mailing list