How can I generate a directory listing, including permissions
represented in octal, instead of r, w, x?
I frequently use ls -l to list files, including their permissions,
but I thought sometimes it would be nice to list these in terms of
their octal values.
I couldn't find any hints in man
Hello!
On Sun, Jul 18, 2004 at 10:08:13AM -0700, [EMAIL PROTECTED] wrote:
How can I generate a directory listing, including permissions
represented in octal, instead of r, w, x?
Try stat -c'%a %n' * for starters, please see man stat for
details.
HTH,
Flo
signature.asc
Description: Digital
--- [EMAIL PROTECTED] wrote:
How can I generate a directory listing, including permissions
represented in octal, instead of r, w, x?
Use stat to piece it together:
[EMAIL PROTECTED] n6tadam]$ stat -c '%a %A %G %U %N' *
644 -rw-r--r-- n6tadam n6tadam `trymr'
644 -rw-r--r-- n6tadam n6tadam
On Sunday 18 July 2004 02:35 pm, Thomas Adam wrote:
--- [EMAIL PROTECTED] wrote:
How can I generate a directory listing, including permissions
represented in octal, instead of r, w, x?
Use stat to piece it together:
[EMAIL PROTECTED] n6tadam]$ stat -c '%a %A %G %U %N' *
644 -rw-r--r--
Silvan wrote:
Interesting. If somebody had shown me that a long time ago, I wouldn't be
having to keep up with my forked version of ls. :)
-ls -O /tmp/foo*
640 -rw-r-1 silvan silvan 6606 Jun 20 03:22 /tmp/foo.ps
Maybe I'll finally let it die. I'm really tired of keeping up
On Sunday 18 July 2004 05:23 pm, John Summerfield wrote:
-ls -O /tmp/foo*
640 -rw-r-1 silvan silvan 6606 Jun 20 03:22 /tmp/foo.ps
Maybe I'll finally let it die. I'm really tired of keeping up with it,
and the idea just never caught anybody's eye.
Did you try offering it
Silvan wrote:
Interesting. If somebody had shown me that a long time ago, I wouldn't be
having to keep up with my forked version of ls. :)
-ls -O /tmp/foo*
640 -rw-r-1 silvan silvan 6606 Jun 20 03:22 /tmp/foo.ps
Maybe I'll finally let it die. I'm really tired of
7 matches
Mail list logo