In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you what the Linux system to view the Centos version of the command, the content is easy to understand, clear, hope to help you solve the doubt, the following let the editor to take you to study and learn the "Linux system to view the Centos version of the command which are" this article.
Environment: CentOS 6.4
View installed CentOS version information 1.cat / etc/issue View version
The cat abbreviation concatenate cat command can be used to display and merge files.
CentOS release 6.6 (Final)
CentOS release 6.6
In the early days of etc, the English name of etc was abbreviated as etcetera, but later people were more accustomed to calling it Editable Text Configuration. ETC is the directory of system configuration files, which contains system startup scripts, startup configuration files, user login configuration files, network configuration files, httpd configuration files, IPSec configuration files and other files.
\ 2. Cat / etc/redhat-release to view the CentOS version
\ 3. Cat / proc/version
Proc is an acronym for process, which stores kernel-related files.
Display result: Linux version 2.6.32-504.12.2.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)) # 1 SMP Wed Mar 11 22:03:14 UTC 2015
We can see that the system uses the 64 operating system of the Linux 2.6.32 kernel. GCC is a collection of GUN compilers, using version 4.4.5.
4.uname-an is shown as follows
Linux host version 2.6.32-504.12.2.el6.x86_64 64-bit Linux version
5 uname-r display result: 2.6.32-504.12.2.el6.x86_64
Analysis result: Linux version 2.6.32-504.12.2.el6.x86_64 64-bit
What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
The above is about "what are the commands for Linux system to check the Centos version?" if this article is helpful to you and think it is well written, please share it with your friends to learn new knowledge. if you want to know more about it, please pay more attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.