Identifying your Cloud Provider within a Virtual Machine
Below is a simple bash script that can be run to identify if the script exists within an AWS, Azure, Google Cloud, or Oracle Cloud Virtual Machine. Bash Script #!/usr/bin/env bash set -e pipefail function getCloudProvider() { if curl --fail -s -m ...
