#!/bin/bash set -o pipefail # Get version VERSION=`cat /etc/centos-release` # Echo Version echo " OS: '"$VERSION"'"