Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Mar 2004 20:40:46 GMT
From:      Mark <admin@asarian-host.net>
To:        "Dan Nelson" <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Retrieving numeric filemode
Message-ID:  <200403092040.I29KEJN0028816@asarian-host.net>
References:  <200403092017.I29KGXFY027217@asarian-host.net> <20040309203215.GG95503@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Dan Nelson" <dnelson@allantgroup.com>
To: "Mark" <admin@asarian-host.net>
Cc: <freebsd-questions@freebsd.org>
Sent: Tuesday, March 09, 2004 9:32 PM
Subject: Re: Retrieving numeric filemode


> In the last episode (Mar 09), Mark said:
> 
> > Is there way (via find or ls, or something else), to retrieve
> > the numeric filemodes? For instance, if "ls -la" says
> > "-r--r--r--", I would like to get its numeric equivalent, 444.
> 
> You can use "stat -r" to get the mode.  It's the 3rd field.

Thanks! Just what the doctor ordered. :)

- Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403092040.I29KEJN0028816>