[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File size question
- To: Ben-Nes Michael <miki(at-nospam)canaan.co.il>
- Subject: Re: File size question
- From: Ariel Biener <ariel(at-nospam)fireball.tau.ac.il>
- Date: Tue, 12 Dec 2000 20:25:34 +0200 (IST)
- cc: ILUG <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <3A363284.D88B1DEF@canaan.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Tue, 12 Dec 2000, Ben-Nes Michael wrote:
system call Michael, not command.
--Ariel
> Hi
>
> du -hs /root/stf.phtml
> 4.0k /root/stf.phtml
>
> Edward Gold wrote:
>
> > Is there a system call that will give a file size (given it's name &
> > path) ?
> > I know that a possible answer can be the use of the system() call, and
> > using ls -l| sort -bn +4from the shell it open- but I'm looking for
> > something more simple.
> >
> > Thanks
> >
> > =================================================================
> > To unsubscribe, send mail to linux-il-request@linux.org.il with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail linux-il-request@linux.org.il
>
> --
> --------------------------
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-6-6925757
> Fax: 972-6-6925858
> http://www.canaan.co.il
> --------------------------
>
>
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
--
Ariel Biener
e-mail: ariel@post.tau.ac.il
PGP(6.5.8) public key http://www.tau.ac.il/~ariel/pgp.html
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il