Ask Question. Asked 9 years ago. Active 2 years, 5 months ago. Viewed k times. Improve this question. Philippe Blayo. Philippe Blayo Philippe Blayo 1, 4 4 gold badges 18 18 silver badges 23 23 bronze badges.
Add a comment. Active Oldest Votes. Improve this answer. Thank you, i always forgot the way to get the release version. The reason I leave the "R" off is because in some cases the "R" in "release" is capitalized.
This is correct. Show 1 more comment. Renan Renan I'll just add, what You could use uname -a to detect, if it 32 or 64 bit compatible. Correct answer should be the one by h3rrmiller I dont know why is it accepted — swift2geek. For example, if you are troubleshooting a system issue, you will want to know.
Outdated software can cause serious security risks and vulnerabilities. In this tutorial, discover four different options on how to check CentOS version. The output will indicate which OS version you are running. Before you can use lsb commands, you have to install the package first. Use the following command:. Type in your sudo password to authorize the installation and then press y and Enter to confirm. View CentOS version information with the command:.
CentOS version 7 and above has the hostnamectl command, which can query and change the hostname and other related settings. In addition to version number , it indicates which Linux kernel your system is using. RPM is a free and open-source package manager created for Red Hat Linux and its related distributions. Please keep in mind that all comments are moderated and your email address will NOT be published.
Save my name, email, and website in this browser for the next time I comment. Notify me of followup comments via e-mail. You can also subscribe without commenting. This site uses Akismet to reduce spam. Learn how your comment data is processed. If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? Related Posts. Deepak Many thanks for sharing this.
0コメント