sexta-feira, abril 12, 2019

verificar a versão do CentOS

he CentOS version consists of three release versions as illustrated below:
Identifying the CentOS Release version

Command

Description
$ rpm -q centos-releaseCentOS version valid for CentOS 6 and higher. Causes to reveal major, minor and asynchronous CentOS version.
$ lsb_release -dRequires redhat-lsb package to be installed before execution.
$ cat /etc/centos-releaseLinux cat command to output content of the /etc/centos-release to query CentOS version. Works with CentOS 6 and higher.

Sem comentários:

LinkWithin

Related Posts Widget for Blogs by LinkWithin