From owner-freebsd-questions Tue Aug 17 10:34:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id ADC38157A0 for ; Tue, 17 Aug 1999 10:34:16 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (cs1-gw.cs.binghamton.edu [128.226.171.72]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with SMTP id NAA16038 for ; Tue, 17 Aug 1999 13:34:11 -0400 (EDT) Date: Tue, 17 Aug 1999 13:20:54 -0400 (EDT) From: Zhihui Zhang To: freebsd-questions@freebsd.org Subject: Explain the output of ls Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Could anyone tell me why the total number given by ls is 13 instead of 12? > 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