查看Debian的版本信息

$ lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux testing (squeeze)
Release:    testing
Codename:    squeeze

 

$ cat /etc/debian_version
squeeze/sid

 

/usr/share/doc/base-files/FAQ:

Q. Ok, but how do I know which distribution I’m running?

A. If you are running testing or unstable, then /etc/debian_version is
not a reliable way to know that anymore. Looking at the contents of
your /etc/apt/sources.list file is probably a much better way.

 

其他相关的或有趣的包还有:

base-files

$ linuxinfo

$ linuxlogo

 

查看内核版本:

cat   /proc/version

uname   -a

作者: 阿福

购买时被坑爹的枪手坑了。只知道介绍如何如何的好,不知道介绍其坏处。因此,写此博客,望能给各大网友帮助。

发表评论

电子邮件地址不会被公开。 必填项已用*标注