LINUX operating instructions --- common to see various versions of the information system

PS: records under a variety of data proc directory of the current system is running, the version information recorded version can be viewed directly through to the cat, you can also see the gcc version information.

1:cat /proc/version
root@instance-fqhtxc7e:~# cat /proc/version
Linux version 4.15.0-58-generic (buildd@lcy01-amd64-013) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019

Information as follows:

2:uname -a
root@instance-fqhtxc7e:~# uname -a
Linux instance-fqhtxc7e 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Information as follows:

3:lsb_release -a
root@instance-fqhtxc7e:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

Information as follows:

4:cat /etc/issue
root@instance-fqhtxc7e:~# cat /etc/issue
Ubuntu 18.04.1 LTS \n \l

Information as follows:

 

  

  

  

 

Guess you like

Origin www.cnblogs.com/dfsu/p/11915446.html