file get permission numer ubuntu code example Example: check octet permission ubuntu stat -c "%a %n" *