Linux的命令

Linux的命令

  • 查看ubuntu系统是32位的还是64位的:getconf LONG_BIT
luni@ubuntu:~/Project/src/cmakedemo$ getconf LONG_BIT
64
  • 查看系统信息:lsb_release -a
luni@ubuntu:~/Project/src/cmakedemo$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.7 LTS
Release:	16.04
Codename:	xenial
  • 查看操作系统架构:uname -a
luni@ubuntu:~/Project/src/cmakedemo$ uname -a
Linux ubuntu 4.15.0-126-generic #129~16.04.1-Ubuntu SMP Tue Nov 24 11:22:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
posted @ 2021-01-29 16:55  不知云深处  阅读(62)  评论(0编辑  收藏  举报