Shell/Bash: check centos version Example


Shell/Bash Example: This is the "check centos version" Example. compiled from many sources on the internet by

check centos version

$ cat /etc/redhat-release

output : CentOS Linux release 7.4.1708 (Core)

how to know which centos version is installed

On the GUI (Gnome) upper right corner click on settings and then on details

By command line cat /etc/centos-release This command works also changing the word centos by os (os-release)

* Summary: This "check centos version" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!