Skip to content

Instantly share code, notes, and snippets.

@lukecav
Created June 15, 2022 17:57
Show Gist options
  • Save lukecav/7387e9f0cdd4ac390b553b06704ade34 to your computer and use it in GitHub Desktop.
Save lukecav/7387e9f0cdd4ac390b553b06704ade34 to your computer and use it in GitHub Desktop.
Check CentOS version from command line
hostnamectl
rpm --eval '%{centos_ver}'
@lukecav
Copy link
Author

lukecav commented Jun 15, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment