howh to get octel permissions or numbers from a file in linux

Subject:

stat -c %a [filename]ref: https://askubuntu.com/questions/29542/display-files-permissions-in-number-format-i-e-0755

2018-03-19 11:35:54gstlouis