Check the version of Cent OS

less than 1 minute read

You can check the version with the following command.

[root@sandbox ~]# cat /etc/centos-release
CentOS Linux release 7.8.2003 (Core)

[root@sandbox ~]# bash --version
GNU bash,Version 4.2.46(2)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+:GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Tags:

Updated: