How to Find the NVIDIA CUDA Version on Linux or Unix
By
nixcraft
There are various ways and commands to check for the version of CUDA installed on Linux or Unix-like systems. Finding a version ensures that your application uses a specific feature or API. Hence, you need to get the CUDA version from the CLI.