Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Convert UNIX rights in a number in a sh script

$
0
0
Hello,

i'm trying to write a script sh to convert the rights of a folder or file in a number.
Explain:

Code:

ls -l = rwxrwxrwx
so i must display 777.

Do you known where i can find so convert script

Thanks

Moderator's Comments:
Use code tags, thanks.

Viewing all articles
Browse latest Browse all 16232

Trending Articles