I just have installed CMAKE in my ubuntu machine.. So when I do whereis cmake, it gives me the actual path
username@phx7b02c-ee1b:~/CMAKE/cmake-2.8.11$ whereis cmake
cmake: /usr/bin/cmake
But whenever I try to get the version of cmake, I always get the below message.. I am not sure what wrong I am doing here?
username@phx7b02c-ee1b:~/CMAKE/cmake-2.8.11$ /usr/bin/cmake --version
-bash: /usr/bin/cmake: is a directory
Can anyone help me here?