Linux命令之uname
2013-05-16 22:51
399 查看
uname
功能说明:uname用来获取电脑和操作系统的相关信息。
语 法:uname[-amnrsvpio][--help][--version]
补充说明:uname可显示linux主机所用的操作系统的版本、硬件的名称等基本信息。
参 数:-a或–all 详细输出所有信息,依次为内核名称,主机名,内核版本号,内核版本,硬件名,处理器类型,硬件平台类型,操作系统名称-m或–machine 显示主机的硬件(CPU)名-n或-nodename 显示主机在网络节点上的名称或主机名称-r或–release 显示linux操作系统内核版本号-s或–sysname 显示linux内核名称-v 显示显示操作系统是第几个 version 版本-p 显示处理器类型或unknown -i 显示硬件平台类型或unknown -o 显示操作系统名--help 获得帮助信息–version 显示uname版本信息
命令实践:
[root@yubing ~]#unameLinux[root@yubing ~]#uname -a 处理器类型Linux yubing 2.6.18-194.el5#1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux内核名称内核版本号内核版本硬件名操作系统名称主机名硬件平台类型[root@yubing ~]#uname -m 硬件(CPU)名i686[root@yubing ~]#uname -n 在网络节点上的名称或主机名称yubing[root@yubing ~]#uname -r Linux操作系统内核版本号2.6.18-194.el5[root@yubing ~]#uname -s Linux内核名称Linux[root@yubing ~]#uname -v 操作系统是第几个version版本#1 SMP Fri Apr 214:58:35 EDT 2010[root@yubing ~]#uname -p 处理器类型i686[root@yubing ~]#uname -i 硬件平台类型i386[root@yubing ~]#uname -o 操作系统名GNU/Linux[root@yubing ~]#uname --help用法:uname [选项]...Print certainsystem information. With no OPTION, sameas -s.
-a, --all print all information, in thefollowing 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 显示此帮助信息并退出 --version 输出版本信息并退出
请向 <bug-coreutils@gnu.org> 报告错误。
功能说明:uname用来获取电脑和操作系统的相关信息。
语 法:uname[-amnrsvpio][--help][--version]
补充说明:uname可显示linux主机所用的操作系统的版本、硬件的名称等基本信息。
参 数:-a或–all 详细输出所有信息,依次为内核名称,主机名,内核版本号,内核版本,硬件名,处理器类型,硬件平台类型,操作系统名称-m或–machine 显示主机的硬件(CPU)名-n或-nodename 显示主机在网络节点上的名称或主机名称-r或–release 显示linux操作系统内核版本号-s或–sysname 显示linux内核名称-v 显示显示操作系统是第几个 version 版本-p 显示处理器类型或unknown -i 显示硬件平台类型或unknown -o 显示操作系统名--help 获得帮助信息–version 显示uname版本信息
命令实践:
[root@yubing ~]#unameLinux[root@yubing ~]#uname -a 处理器类型Linux yubing 2.6.18-194.el5#1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux内核名称内核版本号内核版本硬件名操作系统名称主机名硬件平台类型[root@yubing ~]#uname -m 硬件(CPU)名i686[root@yubing ~]#uname -n 在网络节点上的名称或主机名称yubing[root@yubing ~]#uname -r Linux操作系统内核版本号2.6.18-194.el5[root@yubing ~]#uname -s Linux内核名称Linux[root@yubing ~]#uname -v 操作系统是第几个version版本#1 SMP Fri Apr 214:58:35 EDT 2010[root@yubing ~]#uname -p 处理器类型i686[root@yubing ~]#uname -i 硬件平台类型i386[root@yubing ~]#uname -o 操作系统名GNU/Linux[root@yubing ~]#uname --help用法:uname [选项]...Print certainsystem information. With no OPTION, sameas -s.
-a, --all print all information, in thefollowing 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 显示此帮助信息并退出 --version 输出版本信息并退出
请向 <bug-coreutils@gnu.org> 报告错误。
相关文章推荐
- <Linux系统uname命令用法>
- linux命令之uname,cat,sudo,su,ifconfig(第4天)
- linux uname命令的使用
- linux学习入门2-3——bash命令基本操作(linuxcast.net)(bash部分快捷键、uname、history、通配符、切换用户、作业管理(前台、后台运行,暂停等操作))
- 九个uname命令获取Linux系统详情的实例
- linux之uname命令
- 九个uname命令获取Linux系统详情的实例
- linux命令之uname
- 【Linux命令与工具】系统资源查看——free、uname、dmesg以及netstat
- Linux命令 uname:查看系统与内核相关信息
- Linux命令--hostname和uname
- Linux uname命令查看系统信息
- Linux--常用命令--uname
- linux命令学习(38 39)-uname hostname
- linux uuname 命令详解
- linux命令--uname
- linux命令之uname
- Linux uname 命令
- Linux命令详解之uname
- linux uname命令参数及用法详解--linux查看系统信息命令