Command to display Linux version / distro name / kernel version?

0
=
0
+
0
No specific Bitcoin Bounty has been announced by author. Still, anyone could send Bitcoin Tips to those who provide a good answer.
0

What command outputs Linux version info / distribution name? What about kernel version? Thanks!

Tags:

1 Answer

1
=
0
=
$0
Internet users could send Bitcoin Tips to you if they like your answer!

Short answer - try this command:

cat /proc/version

It may output something like this:

Linux version 2.6.18-371.4.1.el5 (mockbuild@x86-027.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Wed Jan 8 18:42:07 EST 2014

Here is the article that explains proc version output format in more details

SEND BITCOIN TIPS
0

Too many commands? Learning new syntax?

FavScripts.com is a free tool to save your favorite scripts and commands, then quickly find and copy-paste your commands with just few clicks.

Boost your productivity with FavScripts.com!

Post Answer