cat /usr/local/cuda/version.txt
stackoverflow.com/a/42122965
See also: How did I downgrade CUDA from 10.1 to 10.0 in Ununtu 18.04?