Search blog

« Web Hosting 101: How to GET STARTED FAST!Globat Review »

What Linux distribution am I running?

Permalink May 11, 2008 • Category: Tips

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

2 comments

Comment from: Ralph [Visitor]
#cat /etc/lsb-release ##Gives distro's ID, Release, Codename, and Discription
07/24/08 @ 03:59
Comment from: Anonymous [Visitor]
Thanks. This was what I was looking for.
01/21/09 @ 17:27

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)