Monday, June 29, 2015

TRICK: Show which Distro you are running and its version, and more informations

If you’re using Linux as your desktop operating system, you probably are very aware of what version you are running, but what if you need to connect to somebody’s server and do some work? 


It’s really useful to know exactly what you are dealing with, and luckily it’s also pretty easy.

Okey, First Open the Terminal.

See the Pretty Linux Version

Type this command:
# cat /etc/issue

I use Fedora 22 this is why i got this outcome: This will give you output like the following
  Fedora release 22 (Twenty Two)


 If you want more informations you can use the following command:
# cat /etc/*release
 This will give you output like the following :

See the Kernel Version:

 The version of the distribution you are running is actually a completely different thing than the version of the Linux kernel.

# uname -r

This will give you output like the following,  as you see I got 4.0.4.303, this is  my Kernel version.

 

No comments:

Post a Comment

author
My Linux Tricks
MyLinuxTricks's a Blog That intersted in Linux Operating Systems and it try to share some tricks with visitors, and Help who needs help..