ニート道

働きたくないでござる。

CentOSのバージョン確認方法。

CentOSの場合、/etc/redhat-release にバージョン情報があるので、

[code]cat /etc/redhat-release[/code] とする事で、

CentOS Linux release 7.7.1908 (Core)

などとバージョン情報を表示する事が出来る。