GIT – This is quick guide howto show versionhowto show Linux distributin (distro) infohowto show Linux System information, version and information on line.

Show Linux Version

Linux version information can be checked using the following commands:
cat /proc/version
Another way to check Linux Version information is following:
dmesg | grep "Linux version"

Example output:

Linux version 2.6.35.4-28.fc14.i686 (mockbuild@x86-19.phx2.fedoraproject.org) (gcc version 4.5.1 20100907 (Red Hat 4.5.1-3) (GCC) ) #1 SMP Wed Sep 15 02:03:44 UTC 2010

Show Linux Distribution/Distro information

Use lsb_release command to show Linux distribution information:
lsb_release -a

Example output:

LSB Version:	:core-4.0-ia32:core-4.0-noarch
Distributor ID:	Fedora
Description:	Fedora release 14 (Laughlin)
Release:	14
Codename:	Laughlin

Show Linux System Information

Use uname command to show Linux system information:
uname -a

Example output:

Linux localhost.localdomain 2.6.35.4-28.fc14.i686 #1 SMP Wed Sep 15 02:03:44 UTC 2010 i686 i686 i386 GNU/Linux
Show just all Linux kernel information (Kernel nameKernel releaseKernel version) with following command:
uname -srv

Example output:

Linux 2.6.35.4-28.fc14.i686 #1 SMP Wed Sep 15 02:03:44 UTC 2010
Print Friendly

Comments

comments

Bài viết liên quan