command to find out version code example
Example 1: linux version
sudo uname -a
Example 2: get Operating system command
ver && uname #First command show version in Windows and second in Unix
sudo uname -a
ver && uname #First command show version in Windows and second in Unix