On Sun, 22 Sep 2002, Ed Wilts wrote:
hi,
it is possible to know the size of file by simply typing the command ls
-s filename.
regards,
Balakrishnan Asish
> On Sun, Sep 22, 2002 at 06:49:06PM +0200, Michael Pahle wrote:
> > Hi!
> >
> > 'df' is for disks !?
> > 'du' is for directories !?
> >
> > How can I get the size of a particular file?
>
> $ size=`stat -t $filename | cut -f 2 -d ' '`
> $ echo $size
>
>
--
******************************************************************************
The Ultimate Inspiration is the Deadline
Nolan Bushnell
*******************************************************************************
Asish Balakrishnan email-:[EMAIL PROTECTED]
2nd Year MCA
[EMAIL PROTECTED]
Dept of Computer Science
University of Pune
Pune-411007
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list