天天看点

linux查看linux版本,内核版本,系统位数,gcc版本,Ubuntu下查看linux版本,内核版本,系统位数,gcc版本...

1. 查看linux版本

[email protected]:~$cat /etc/issue

Ubuntu 11.04 \n \l

2. 查看内核版本

1) [email protected]:~$ cat /proc/version

Linux version 2.6.38-13-generic ([email protected]) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #57-Ubuntu SMP Mon Mar 5 18:10:14 UTC 2012

2)  uname命令

[email protected]:~$ uname -a

Linux ubuntu 2.6.38-13-generic #57-Ubuntu SMP Mon Mar 5 18:10:14 UTC 2012 i686 i686 i386 GNU/Linux

[ -------------------------------------------------------------------------------

-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

-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

--------------------------------------------------------------------------------------]

3.查看系统位数

1) [email protected]:~$ getconf WORD_BIT

32

2)[email protected]:~$ file /bin/bash

/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped

4. 查看gcc版本

[email protected]:~$ gcc --version

gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

Ubuntu下查看APT安装的软件安装路径和版本

1.查询安装路径 dpkg -L 软件名 例如:dpkg -L gedit dpkg -L gedit /. /usr /usr/bin /usr/bin/gedit /usr/share /usr/ ...

Ubuntu下查看软件版本及安装位置【转】

Ubuntu下查看软件版本及安装位置 查看软件版本:     aptitude show xxx 也可用apt-show-versions (要先安装sudo apt-get install apt- ...

查看Linux 、Nginx、 MySQL 、 PHP 版本的方法

参考:查看Linux .Apache . MySQL . PHP 版本的方法 1.查看Linux版本: uname -a: more /etc/issue; cat /proc/version; 2. ...

Ubuntu下查看服务器cpu是否支持VT

http://blog.51cto.com/zhangmingqian/1249522 Ubuntu下查看服务器cpu是否支持VT 原创wazjajl 2013-07-15 16:25评论(0)119 ...

ubuntu下查看服务器的CPU详细情况

https://www.cnblogs.com/liuq/p/5623565.html 全面了解 Linux 服务器 - 1. 查看 Linux 服务器的 CPU 详细情况 ubuntu下查看服务器的 ...

查看linux是几位操作系统

查看linux是几位操作系统 摘自:https://blog.csdn.net/a34569345/article/details/80179927 2018年05月03日 14:44:44 bill ...

Ubuntu下查看so文件的函数列表

Ubuntu下查看so文件的函数列表   可使用如下命令: 1.nm -D XXX.so 2.objdump -tT  XXX.so   nm libcyusb.so | grep "usb ...

[Raspberry]001Ubuntu下查看linux版本,内核版本,系统位数,gcc版本

1. 查看linux版本  [email protected]:~$cat /etc/issueUbuntu 11.04 \n \l 2. 查看内核版本1) [email protected]:~$ cat /proc/ ...

随机推荐

《100种过度医疗大公开》:转译自日文版,日文版依据的是美国的“Choosing Wisely”项目。三星推荐

本书转译自日文,日文版则是在美国的“Choosing Wisely”项目中选择了100个相对常见的过度医疗项目做解说.Choosing Wisely项目,是由美国多个专业医学组织发起的列出过度医疗项目 ...

[Flex] flex手机项目如何限制横竖屏?只允许横屏?

flex手机项目如何限制横竖屏?只允许横屏?   有人知道吗?求教.. 工程中 xxx-app.xml 找到 去掉注释 修改为

java 开发常用的Linux命令

1.查找文件 find / -name filename.txt 根据名称查找/目录下的filename.txt文件. find . -name "*.xml" 递归查找所有的xm ...

bjui给出的一个标准应用的首页

DataTables获取表单输入框数据

$(document).ready(function() { var table = $('#example').DataTable(); $('button').click(function() { ...

Python爬虫入门之Urllib库的基本使用

那么接下来,小伙伴们就一起和我真正迈向我们的爬虫之路吧. 1.分分钟扒一个网页下来 怎样扒网页呢?其实就是根据URL来获取它的网页信息,虽然我们在浏览器中看到的是一幅幅优美的画面,但是其实是由浏览器解 ...

servlet_4

过滤器入门 过滤器的概念及执行基本流程 过滤器的使用场景 过滤器的实现及基本配置 过滤器链 过滤器链的配置 使用注解的方式无法保证过滤器链的执行顺序,所以只能使用web.xml的配置 按照出现在web ...

mac下virtualbox中centos6.5虚拟机实现全屏和调整分辨率

在visualbox里安装好centos后,发现不能分辨率与原屏幕不一致,很多解决方法是:安装增强包.可是安装增强包后依然达不到效果. 究其原因,原来因为没有安装显卡驱动导致安装了增强包后无法实现分辨 ...

继续阅读