Date: Tue, 9 Mar 2004 14:32:15 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Mark <admin@asarian-host.net> Cc: freebsd-questions@freebsd.org Subject: Re: Retrieving numeric filemode Message-ID: <20040309203215.GG95503@dan.emsphone.com> In-Reply-To: <200403092017.I29KGXFY027217@asarian-host.net> References: <200403092017.I29KGXFY027217@asarian-host.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040309203215.GG95503>