terminal get mode file info unix code example Example: check octet permission ubuntu stat -c "%a %n" *