From owner-freebsd-questions@FreeBSD.ORG Thu Jun 14 21:52:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6EA2106564A for ; Thu, 14 Jun 2012 21:52:50 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4685F8FC15 for ; Thu, 14 Jun 2012 21:52:50 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so2275980wgb.31 for ; Thu, 14 Jun 2012 14:52:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=lfDNiHkocV11i8lhJ4EWm9BeV8V4KWFaE1GaZGawVeE=; b=IxkUIPx8zjTCzzZtbkGoSci4YqaAGVU1B/VOWaIp+PkgQEze2o0H2u3nyq1zBziRcL dCjqgOEDcdb5vsM4tpleQC+HHwYGv+8IRpZ1FqyRBTEiTeSHQO6s8Tg2evdEQ4odncyW cSKN/HnOTma4tzV1KCaLrwX05155yU2W2W58RbAvQM/JcgIIhbktnsXEqenFz8gRz2Cd 7OrE47MkL8xNkzOaTlhUi+zHk9GvSwVxfgcKM5XsWOJWvWhmmi3LO2sifF5yUUN8EHNk WOlJZOQ+YBo+l2QAwS5OXVE1PQBYjDhRnd3W7W0p6UkFQRyvwUKhspXxh7QHTZ6yg/fh KLsA== MIME-Version: 1.0 Received: by 10.216.143.84 with SMTP id k62mr1704674wej.98.1339710768537; Thu, 14 Jun 2012 14:52:48 -0700 (PDT) Received: by 10.216.62.80 with HTTP; Thu, 14 Jun 2012 14:52:48 -0700 (PDT) X-Originating-IP: [76.104.147.221] In-Reply-To: <20120614193758.GA6419@external.screwed.box> References: <20120613202325.GC5800@external.screwed.box> <20120614193758.GA6419@external.screwed.box> Date: Thu, 14 Jun 2012 14:52:48 -0700 Message-ID: From: David Brodbeck To: Peter Vereshagin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlFfIdbviKpIGJCKdnZVi+vZUMLdW9NT1GWeG1zgem6sh5kMSrcxhdDRmE/7C7wysh2MvC2 Cc: freebsd-questions@freebsd.org Subject: Re: `ls -l` shows size of file other than of the folder? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2012 21:52:50 -0000 On Thu, Jun 14, 2012 at 12:37 PM, Peter Vereshagin w= rote: > Hello. > > 2012/06/14 00:23:25 +0400 Peter Vereshagin =3D> To= freebsd-questions@freebsd.org: > > PV> ot the least how could I see the 'real' size of each of those files, = both =A0~150M > PV> actulally, with a system command? > > also, 'du' works that way for regular files. But implicitly I wanted abou= t ls's > key, thanks a lot guys! Yes, the default for du is the actual disk usage, and "du -A" gives the apparent size. We run an OpenSolaris filer with on-the-fly compression, and I've occasionally had people express confusion after copying a large text file to it and finding the copy to be smaller than the original when viewed with 'du'. ;)