• 技术文章 >运维 >linux运维

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

    藏色散人藏色散人2023-03-21 10:09:31原创129

    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核实处理。
    专题推荐:linux 操作系统
    上一篇:linux下 ftp命令有哪些 下一篇:自己动手写 PHP MVC 框架(40节精讲/巨细/新人进阶必看)

    相关文章推荐

    • Linux中怎么用yum安装并搭建PHP环境• linux怎么查询java路径• linux 怎么查看远程服务器端口是否开放• linux下 ftp命令有哪些
    1/1

    PHP中文网