php3-list | 199807
Date: 07/14/98
- Next message: Rasmus Lerdorf: "Re: [PHP3] some more socket trouble"
- Previous message: Adam Roderick: "[PHP3] some more socket trouble"
- In reply to: Brian S. Craigie: "RE: [PHP3] Example of du"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 14 Jul 1998, Brian S. Craigie wrote:
> On 15-Jul-98 David Deutsch wrote:
> > Could some post a sample piece of code that uses the "du -s" command and
> > ereg's the output to display the byte count only.
>
> On Solaris 2.5 and hp-ux 10.20 :-
> # du -s
> 3112 .
Under Solaris, this reports the number of blocks used, not the number of
bytes. If you want a byte-count (in K), use "du -sk ." or divide by 2.
-- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
- Next message: Rasmus Lerdorf: "Re: [PHP3] some more socket trouble"
- Previous message: Adam Roderick: "[PHP3] some more socket trouble"
- In reply to: Brian S. Craigie: "RE: [PHP3] Example of du"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

