HIRS/package/scripts/common/get_centos_major_version.sh

1 line
62 B
Bash
Raw Normal View History

2018-09-06 13:47:33 +00:00
cat /etc/redhat-release | grep -Eo "release [0-9]" | tail -c 2