Determine version of Linux I’m running

1132245 pts.
Tags:
Linux
How can I determine what version (most looking for distribution / kernel version) of Linux I'm currently running? Thank you
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Start with these two commands:

myuser@mysys ~ $ cat /etc/issue
Linux Mint 17.1 Rebecca
myuser@mysys ~ $ uname -r
3.13.0-37-generic

Both should work almost everywhere. The first says I’m running {Linux Mint 17.1 Rebecca}, and the second tells the kernel version.

As long as those work, you have what you want; but many distros allow more. You can try:

myuser@mysys ~ $ cat /etc/*release

Hard to be sure what you might see. Try it and compare to the first command above to get a feel for the items returned, if it works on a given distro.

And also try this version for kernel info:

myuser@mysys ~ $ uname -a

Again, compare to the version above to see what extra info it might return.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: