Problem scenario
You want to find out what version of Splunk you are using. What command do you run?
Solution
Run this command: sudo /opt/splunk/bin/splunk version
If it does not work, run this command: sudo find / -name splunk -type f
Then run sudo /path/found/above/splunk/ version