From owner-freebsd-questions@FreeBSD.ORG Tue Sep 23 16:19:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0558416A4B3 for ; Tue, 23 Sep 2003 16:19:11 -0700 (PDT) Received: from mail.richardflanagan.com.au (gateway.richardflanagan.com.au [203.149.71.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7662B43FCB for ; Tue, 23 Sep 2003 16:19:09 -0700 (PDT) (envelope-from andy@richardflanagan.com.au) Received: from Rockstar.richardflanagan.com.au (unknown [192.168.0.233]) by mail.richardflanagan.com.au (Postfix) with ESMTP id DEE4D218BCC; Wed, 24 Sep 2003 09:21:24 +1000 (EST) From: Andy K To: Brian Henning In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 24 Sep 2003 09:10:31 +1000 Message-Id: <1064358631.1510.19.camel@Rockstar.richardflanagan.com.au> Mime-Version: 1.0 cc: FreeBSD Questions Subject: Re: du,df tools X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: andy@richardflanagan.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2003 23:19:11 -0000 Hi Brain Try df -h (h for human readable output I think)Also, in you shell profile change BLOCKSIZE= to k for kilobytes, M for Megabytes to suit you needs Regards Andrew Kozak ] On Wed, 2003-09-24 at 03:52, Brian Henning wrote: > Greetings: > I would like to use df and du tools to get some stat about my files and my disk. > > first, why does 59375408 + 1348433 != 61337213 > df -k /home/henninb > Filesystem kbytes used avail capacity Mounted on > 61337213 59375408 1348433 98% /home/henninb > > second, when i try the following command i get the result in usage on the disk. > does du give results of 'actual file size'? can i get it to report the result > in bytes or megabytes? > du -a -k /home/henninb/ > > Thanks for any help, > > Brian > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >