sucretan2010

1.uname -a  可显示电脑以及操作系统的相关信息。 

 

2.输入"cat /proc/version",说明正在运行的内核版本。

 

3.输入"cat /etc/issue", 显示的是发行版本信息

 

 

4.lsb_release -a (适用于所有的linux,包括Redhat、SuSE、Debian等发行版,但是在debian下要安装lsb)

 

5.还可以使用 cat /etc/os-release 或者 cat /etc/redhat-release

 

分类:

技术点:

相关文章:

  • 2021-11-18
  • 2021-11-18
  • 2021-12-24
  • 2021-12-17
  • 2021-07-23
  • 2021-06-25
  • 2021-07-12
猜你喜欢
  • 2022-01-21
  • 2021-12-09
  • 2021-08-11
  • 2021-12-02
相关资源
相似解决方案