in reply to Reaped: Get File Permission
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)
|
|---|