Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

第 1 章 获取系统信息

目录

1.1. Distribution information
1.2. System Infomation
1.2.1. Cpu Bit
1.3. shutdown
1.4. Profile
1.4.1. shell

1.1. Distribution information

To find your Ubuntu version: lsb_release -a

		
[root@localhost ~]# lsb_release -a
LSB Version:    :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description:    CentOS release 5.2 (Final)
Release:        5.2
Codename:       Final


neo@netkiller:~$ lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04.1
Release:        8.04
Codename:       hardy
		
		
$ head -n1 /etc/issue
Ubuntu 10.04 LTS \n \l
		
comments powered by Disqus