Show pagesourceOld revisionsBacklinksExport to PDFBack to top Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditRecent ChangesSend via e-MailPrintPermalink × Show numeric permissions on ls ls -l | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf("%0o ",k);print}' Discussion Real name: E-Mail: Enter your comment: Please solve the following equation to prove you're human. 200 +2 = Please keep this field empty: Subscribe to comments linux/shell_commands/numeric_permissions.txt Last modified: 2019-10-31 09:05(external edit)
Discussion