get numeric permissions in linux code example Example: check octet permission ubuntu stat -c "%a %n" *