properties of a file

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun May 16 15:38:51 PDT 2004


On Sun, May 16, 2004 at 10:51:13PM +0100, arden wrote:
> just a quick question 
> 
> i know df will tell me the properties of the partition im in, but how do
> i find out how big a signal file is ?

ITYM 'single file':

    % ls -l filename

Where the 5th field in the output is the file size in bytes.
But there are very many other ways to get that information:

    % wc -c filename
    % stat -f %z filename

etc. etc.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040516/0a730ffc/attachment.bin


More information about the freebsd-questions mailing list