Date: Tue, 17 Aug 1999 20:51:42 +0300 From: Ruslan Shevchenko <Ruslan@Shevchenko.Kiev.UA> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: freebsd-questions@freebsd.org Subject: Re: Explain the output of ls Message-ID: <37B9A12E.AFB05A35@Shevchenko.Kiev.UA> References: <Pine.GSO.3.96.990817131908.18730A-100000@sol.cs.binghamton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B9A12E.AFB05A35>