🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: dc.org.linux-users
Article #220

Re: tcsh total directory size?

#220
From: Jim Thomas
Date: Wed, 18 Jul 2001 17:09
26 lines
1680 bytes
Damon Riley wrote:
> 
> Hi.
> 
> Thanks for the help with the memory question the other day to all of you
> who replied or posted.  The new memory went in and the GIMP screams.
> 
> I telnet to a tcsh shell for Unix.  I want to know the total number of
> bytes stored in a directory but would rather not add them up by hand if
> there were an easier way.  I don't know what man page to read.
> 
> I also would like to know how to do this in Linux.  I'm running RHL 7.1.
> 
> Thanks,
> 
> Damon

du -s .

gives the size of the current directory.

-- 
Jim Thomas      **    Principal Applications Engineer ** Bittware, Inc
703.779.7770    **    jthomas@bittware.com **  http://www.bittware.com
The secret to enjoying your job is to have a hobby that is even worse.
 - Calvin's dad
Technical Details
Message-ID: <3B55C2B7.C667BA33@bittware.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feeder.qis.net!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <3B55844A.1CC9E838@wam.umd.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11663c,b788a91ee5c2ef9
X-Google-Attributes: gid11663c,public
X-Google-ArrivalTime: 2001-07-18 10:26:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feeder.qis.net!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: Jim Thomas <jthomas@bittware.com>
Newsgroups: dc.org.linux-users
Subject: Re: tcsh total directory size?
Date: Wed, 18 Jul 2001 13:09:11 -0400
Organization: Bittware, Inc
Message-ID: <3B55C2B7.C667BA33@bittware.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
References: <3B55844A.1CC9E838@wam.umd.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: newsabuse@supernews.com
Lines: 26