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 ([email protected]) (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 #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 #1 SMP Wed Sep 15 02:03:44 UTC 2010
Print Friendly, PDF & Email



Bài viết liên quan