b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • General
  • Cheap hosting
  • Green
  • SSH
  • VPS
  • Dedicated
  • Reseller
  • UK
  • FR
  • Web Hosting Blog
 
  • « Unlimited web hosting! (NOT)
  • Globat Review »

What Linux distribution am I running?

Posted by fplanque on May 11, 2008 in Tips, VPS, Dedicated, Advice
What Linux distribution am I running?

Sometimes you will be given a dedicated server or a VPS and you won't know exactly which flavor or distribution of Linux it is running.

Here is how you can find out when logged in through SSH:

# uname -a

This generally won't tell you as much as you'd like.

# cat /proc/version

This will generally tell you more than you'd like.

Once you know that you are running Red Hat for example, you can get to the point with:

# cat /etc/redhat-release

Or on Debian:

# cat /etc/debian_version

Tags: centosdebiandedicatedlinuxredhatvps

8 comments

User ratings
5 star:
 
(3)
4 star:
 
(1)
3 star:
 
(0)
2 star:
 
(0)
1 star:
 
(0)
4 ratings
Average user rating:
(4.8)

Comment from: Ralph

Ralph

#cat /etc/lsb-release ##Gives distro’s ID, Release, Codename, and Discription

2008-07-24 @ 03:59

Comment from: Anonymous

Anonymous

Thanks. This was what I was looking for.

2009-01-21 @ 17:27

Comment from: Web Design Montreal

Web Design Montreal

Thank you I did # cat /proc/version and worked perfectly on Red hat

2010-12-09 @ 22:58

Comment from: Anand

Anand

use
#cat /etc/issue or
#cat /etc/issue.net

2011-06-08 @ 01:25

Comment from: sena

sena

I was struggling to know which linux flavour my server runs. The cmd was really helpful :) Thanks.

2012-01-16 @ 17:01

Comment from: Sandeep

Sandeep

Thanks a lot for sharing this :)

2012-09-10 @ 08:02

Comment from: ben

ben

Awesome, thanks :)

2013-06-03 @ 07:56

Comment from: cloudminister

cloudminister

Thank you for sharing this informative blog. it’s very helpful for us.

2019-11-08 @ 08:11

Hosting Options

  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • SSH hosting
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • UK web hosting
  • Hébergement web

Web Hosting Blog

  • Recently
  • Latest comments

Search

Categories

  • All
  • Advice
    • By Hosting Type
      • Shared Hosting
      • VPS
      • Dedicated
      • Reseller
    • Tips
    • Tutorials
  • News
  • Promos
    • Coupons
  • Reviews

XML Feeds

  • Atom: Posts
  • RSS 2.0: Posts
What is RSS?

Web Hosting eBook

Free Web Hosting e-book!
Click here to download NOW!

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque