how to know size of a file

layman layman82 at yahoo.com
Tue Jul 1 01:12:23 PDT 2003



--- Davide Brini <dbrini at vet.unibo.it> wrote:
> On Tue, 1 Jul 2003 00:49:16 -0700 (PDT),
> layman <layman82 at yahoo.com> wrote:
> 
> > How to check the size of a (any) file (especially
> > text) in linux using console ?
> 
> I'm sure there are many other methods, this is
> rather ugly:
> 
> cat filename | wc -c
> 
how do i store it directly in a variable (bash), 

f=cat filename | wc -c 

does not help me

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list