Is there a better/more proper way to check auditd's version on Linux machine than to check it as part of the installed program name? For instance on Ubuntu in run /usr/bin/dpkg-query -W --showformat '${Package} ${Version}\n' | grep auditd and got the output auditd 1:2.8.2-1ubuntu1



Why don't you just simply use:

dpkg --list PROGRAM_NAME

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.