How to reliably get the databricks run time version as part of init scripts in aws/azure databricks

venkateshp
New Contributor II

We currently use the script below, but it is not working in some environments.

The environment variable used in the script is not listed in this link Databricks Environment Variables

```bash
#!/bin/bash
echo "Databricks Runtime Version: $DATABRICKS_RUNTIME_VERSION"
```