linux查看服务器是什么操作系统版本

藏色散人
藏色散人 原创
2023-03-21 10:09:31 2454浏览

linux查看服务器操作系统版本的方法:1、登录linux系统,进入终端;2、在终端中通过执行“uname -a”命令查看服务器安装的系统版本即可。

本教程操作环境:centos 3.10.0系统、Dell G3电脑。

linux查看服务器是什么操作系统版本?

查看服务器上装的是什么系统(CentOs,Ubuntu)?

登录进去linux系统里面,使用命令:

uname -a

1feff679765028fd89f069fae851cbe.png

截图的效果

可以看的,服务器安装的centos 3.10.0-514.26.2.el7.x86_64,64位版本;

 -a, --all                print all information, in the following order,
                             except omit -p and -i if unknown:
打印所有信息,显示系统名、节点名称、操作系统的发行版号、内核版本等等;
  -s, --kernel-name        print the kernel name
打印内核名
  -n, --nodename           print the network node hostname
打印网络节点主机名
  -r, --kernel-release     print the kernel release
显示操作系统的发行版本号
  -v, --kernel-version     print the kernel version
输出发行版本的日期
  -m, --machine            print the machine hardware name
打印机器硬件名称(64位还是32位的)
  -p, --processor          print the processor type or "unknown"
打印处理器类型或“未知”
  -i, --hardware-platform  print the hardware platform or "unknown"
打印硬件平台或“未知”
  -o, --operating-system   print the operating system
打印操作系统
      --help     display this help and exit
显示此帮助并退出
      --version  output version information and exit
输出版本信息并退出

相关推荐:《Linux视频教程

以上就是linux查看服务器是什么操作系统版本的详细内容,更多请关注php中文网其它相关文章!

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。