From owner-freebsd-questions Tue Aug 17 10:47: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gvinpin.grad.kiev.ua (KievglavArhit-UTC.ukrtel.net [195.5.25.54]) by hub.freebsd.org (Postfix) with ESMTP id BA15E156F7 for ; Tue, 17 Aug 1999 10:46:54 -0700 (PDT) (envelope-from Ruslan@Shevchenko.Kiev.UA) Received: from Shevchenko.Kiev.UA (kulshedra [10.0.1.99]) by gvinpin.grad.kiev.ua (8.8.7/8.8.7) with ESMTP id UAA29650; Tue, 17 Aug 1999 20:43:22 +0300 Message-ID: <37B9A12E.AFB05A35@Shevchenko.Kiev.UA> Date: Tue, 17 Aug 1999 20:51:42 +0300 From: Ruslan Shevchenko Reply-To: rssh@grad.kiev.ua X-Mailer: Mozilla 4.07 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Zhihui Zhang Cc: freebsd-questions@freebsd.org Subject: Re: Explain the output of ls References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Zhihui Zhang wrote: > > Could anyone tell me why the total number given by ls is 13 instead of 12? > total is number of blocks, not number of files. > > ls -al > total 13 > drwxr-xr-x 6 zzhang wheel 512 Aug 18 11:44 . > drwxr-xr-x 5 zzhang wheel 512 Aug 18 12:50 .. > -rwxr-xr-x 1 zzhang wheel 4361 Aug 18 11:44 a.out > -rw-r--r-- 1 zzhang wheel 0 Aug 18 09:48 emptyfile6 > drwxr-xr-x 2 zzhang wheel 512 Aug 18 09:46 file1 > drwxr-xr-x 2 zzhang wheel 512 Aug 18 09:46 file4 > prwxr-xr-x 2 zzhang wheel 0 Aug 18 09:46 file5 > prwxr-xr-x 2 zzhang wheel 0 Aug 18 09:46 file5link > lrwxr-xr-x 1 zzhang wheel 16 Aug 18 09:47 homedir -> /usr/home/zzhang > drwxr-xr-x 2 zzhang wheel 512 Aug 18 09:46 newfile3 > drwxr-xr-x 2 zzhang wheel 512 Aug 18 09:47 newlongerfile2 > -rw-r--r-- 1 zzhang wheel 1613 Aug 18 11:44 opendir.c > > Thanks. > > -------------------------------------------------- > Zhihui Zhang. Please visit http://www.freebsd.org > -------------------------------------------------- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message