DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Find out Linux Version You Are Running


Find the "release" file and print its content:

$ ls -ld /etc/*release
$ cat ... # the *-release file

This is valid for most Linux distros, such as CentOS, Debian, Gentoo, Fedora, Ubuntu, Mint ...

Or get the information from the login screen:

$ cat /etc/issue

For Debian family distros, like Ubuntu, Mint:

$ ls -ld /etc/*version
$ cat ...

The final solution is lsb command, but not all distros support it.

$ lsb_release -a

Ref: How do I find out what version of Linux I'm running?



Published

Apr 16, 2014

Last Updated

Apr 16, 2014

Category

Tech

Tags

  • Codename 1
  • Linux 158
  • Version 3

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor