ls -le
What is the -e switch supposedly doing?
This gives you simple user-group-world octal permissions on all files in the current directory if you restrain from learning ls switches ;-)
perl -e'printf("%03o $_\n",(stat("$_"))[2]&07777,$_)for glob"*"'
All that beauty in such a simple statement... *wanders off*
Cheers, Sören
(hooked on the Perl Programming language)
In reply to Re: Get File Permission
by Happy-the-monk
in thread Reaped: Get File Permission
by NodeReaper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |