公司里一些仿真软件得进Linux系统,好奇公司用的什么Linux版本,于是搜罗了几个命令如下:
1 uname - Print system info
-a, print all info
-s, print kernel name
-r, print kernel release
-m, print the machine hardware name
2 lsb_release - Print distribution-specific information
-a, display all the info
3 /proc/version - Print running kernel information
$ cat /proc/version
4 top - display Linux tasks
press "q" to quit