linux show permissions in number format code example Example: check octet permission ubuntu stat -c "%a %n" *