How Do You Know If You Have Linux?
Contents

Do I have Linux or Windows?

Open a terminal program (get to a command prompt) and type uname -a. This will give you your kernel version, but might not mention the distribution your running. To find out what distribution of linux your running (Ex. Ubuntu) try lsb_release -a or cat /etc/*release or cat /etc/issue* or cat /proc/version.

Do I have Linux or Unix?

On Linux systems, uname will print Linux . On Mac OS X systems, uname will print Darwin . … As Rob points out, if you’re running Mac OS X ( Darwin as indicated by uname ), then you’re running a certified version of Unix; if you’re running Linux then you’re not.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest