Linux命令——uname
来源:互联网 发布:libreoffice软件 编辑:程序博客网 时间:2024/05/16 06:23
好记性不如烂笔头^_^
- Linux命令uname
- 命令简介
- 使用方法
- 选项详解
- 示例
Linux命令——uname
命令简介
Uname是unix name的缩写,该命令用于打印当前系统相关信息(内核版本号、硬件架构、主机名称和操作系统类型等)。
使用方法
uname [option]
选项详解
其实这些都可以通过 –help 来查,这里相当于翻译一下
root@xqf:~# uname --helpUsage: uname [OPTION]...Print certain system information. With no OPTION, same as -s. -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
示例
root@xqf:~# uname -mx86_64root@xqf:~# uname -nxqfroot@xqf:~# uname -r4.2.0-27-genericroot@xqf:~# uname -v#32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016root@xqf:~# uname -px86_64root@xqf:~# uname -ix86_64root@xqf:~# uname -oGNU/Linuxroot@xqf:~# uname -aLinux xqf 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linuxroot@xqf:~# unameLinuxroot@xqf:~# uname -sLinux
root@xqf:~# uname --versionuname (GNU coreutils) 8.21Copyright (C) 2013 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.Written by David MacKenzie.
0 0
- Linux命令——uname
- Linux命令——uname
- linux命令——uname、uptime
- Linux命令(33)——uname命令
- linux uname 命令
- uname命令linux
- linux命令--uname
- linux命令之uname
- linux之uname命令
- Linux uname 命令
- Linux命令 uname
- linux uname命令
- Linux命令uname
- linux命令之uname
- linux uname命令的使用
- Linux系统uname命令介绍
- Linux命令详解之uname
- Linux命令之uname -r
- 深度学习数据库
- Linux环境C语言把整数转换成字符串再保存该字符串数据为文本
- 自由扩展——Builder模式
- vs2010使用boost库,安装
- ZCMU—1400
- Linux命令——uname
- 采用oracle 11g过程发邮件 和群发邮件
- 共享内存和消息传递
- 复选框拼接
- Gradle篇--gradle和maven有什么用?分别有什么区别?
- flume配置-生产环境下 Taildir Source to kafka Sink
- Java设计模式1:设计模式概论
- Java设计模式2:简单工厂模式
- 类的初始化顺序