https://stackoverflow.com/questions/394230/how-to-detect-the-os-from-a-bash-script
Anonymous
Code that is graceful and clear is less likely to break.