Is there any quick command or script to check for the version of CUDA installed?
I found the manual of 4.0 under the installation directory but I\'m not sure whether
On Ubuntu :
Try
$ cat /usr/local/cuda/version.txt or $ cat /usr/local/cuda-8.0/version.txt
$ cat /usr/local/cuda/version.txt
$ cat /usr/local/cuda-8.0/version.txt
Sometimes the folder is named "Cuda-version".
If none of above works, try going to $ /usr/local/ And find the correct name of your Cuda folder.
$ /usr/local/
Output should be similar to: CUDA Version 8.0.61
CUDA Version 8.0.61