how to see what permissions a file has in numbers code example Example: check octet permission ubuntu stat -c "%a %n" *