linux get permissions number of file code example Example: check octet permission ubuntu stat -c "%a %n" *