HIRS/package/scripts/common/get_centos_major_version.sh
2018-09-06 09:47:33 -04:00

1 line
62 B
Bash

cat /etc/redhat-release | grep -Eo "release [0-9]" | tail -c 2