Return AlienVault OSSIM Current Version from Command Line
If you want to return the current AlienVault OSSIM version you are running from a command line try this: version=$(dpkg -l | grep ossim-cd-tools | awk ‘{print $3}’ | awk -F’-‘ ‘{ print $1 }’) echo $version