How To Find What Linux Distro You Are In?

I was recently doing something over ssh on my hosts shared server and realized that I didn’t know what Linux distro I was working in.

Which Distro

My server was running Red Hat

I did some Googling and found a number of suggestions on how to find this information out. Only the last of these three actually worked for me but I thought I would include them because it seems that they work for others on different systems.

lsb_release -a
cat /etc/lsb_release
cat /proc/version

Hopefully one of these will work for you.

  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Technorati
  • LinkedIn
  • RSS
  • Slashdot
  • Twitter

About Jason Job

I am a technologist, music producer and an obsessive student of the Internet. I create sound, write code and make things with electronics and microcontrollers. I work as a software developer and consultant and am currently focused primarily on mobile applications for iPhone, iPad and iPod Touch.
This entry was posted in *nix, command line. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>