Is there a one line command that can be used to return the Agent version? I know we can get the agent version from the installed-versions.txt but I need to be able to script upgrade packages for different versions of the agent.
Was looking for a one-liner that could give me back "6.4.00.300" indicating that its a 6.4 agent with FixPack 3
The alternative might be a shell script that can parse the installed-versions.txt quickly and retrieve that information.
This would be in the unix environment.