#!/bin/bash # Check what OS we're on OS=`awk -F = '/^NAME/{print $2}' /etc/os-release` echo "OS found in /etc/os-release is $OS" export OS="$OS"