From owner-freebsd-questions@FreeBSD.ORG Mon Mar 17 09:46:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72A0D106564A for ; Mon, 17 Mar 2008 09:46:50 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB918FC1D for ; Mon, 17 Mar 2008 09:46:49 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so5802993wxd.7 for ; Mon, 17 Mar 2008 02:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=LxPYNwjk4nwQuf26NKXBxM/SUsNGezLszHuLwl1SNLM=; b=aKUrzz/JeHvGUdnaVqrqjKDaIIJG4HRQsQlOeV9L06sUlYugISX8bRs8nuFs8PpvUJQh8PDxK9aaNClHgcmdHh/n4jCNs8HYYnA6WhmidbfeTW5KJR2VvCW2gTEvgYCvhWdi96PnmnbQ+l/51bdSaBWUQMjoebk3TmFNyRnDL6k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K9SXcN6zp29ISkBbmOs8FFBq+kXcrBh2tkktaCyJr4lUL8z3M4O3qoVbVb/MhICZMlCQa/5bOKmTjyoiekg3+CZkpYcINr7ys2ovqh8DphI29uI67wO+9q91DZkddUCrqPGlhSaT2eiQr1D9AWzvhblRpSGX4ks5LDg22Slgvcw= Received: by 10.141.22.1 with SMTP id z1mr7392580rvi.67.1205747205416; Mon, 17 Mar 2008 02:46:45 -0700 (PDT) Received: by 10.70.70.2 with HTTP; Mon, 17 Mar 2008 02:46:45 -0700 (PDT) Message-ID: <64c038660803170246u11f17f16qb62e61dc78133f34@mail.gmail.com> Date: Mon, 17 Mar 2008 03:46:45 -0600 From: Modulok To: "Paul A. Procacci" In-Reply-To: <47DC6E92.1000300@datapipe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <64c038660803151511r6ae6d229v484769cfe38043bc@mail.gmail.com> <47DC6E92.1000300@datapipe.com> Cc: freebsd-questions@freebsd.org Subject: Re: Can one list permission bits numerically... 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: Mon, 17 Mar 2008 09:46:50 -0000 > > Perhaps I missed it somewhere in the man page, but is there a way to > > list files with their permission bits displayed as numeric (octal, as > > in chmod(1)), instead of symbolic? Something like: > > > > ls -lF -imaginaryFlag > > > > 0755 4 Modulok Modulok 512 Dec 17 18:39 dir1/ > > 0644 1 Modulok Modulok 101786 Feb 23 05:53 file1 > > 0644 1 Modulok Modulok 140097 Feb 13 23:38 file2 > > .... > Maybe something like this will suit you: > > stat -f "%p %l %u %g %z %m %N" * Thank you! That will do nicely. -Modulok-