Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently started a new job, and was told that I need to log on (Via shell) to a particular unix system. I'm trying to figure out a few peculiarities with the system, but first I need to know what version of unix it is running. I could go and find a system admin, but that's a bit of a pain, as I don't actually know who maintains the system. How can I figure out using a shell (ksh) what version of unix I am actually using?

share|improve this question
up vote 8 down vote accepted

To find the unix system type, host name, kernel version, etc execute this command:

uname -a
share|improve this answer
That did the trick! SunOS, no wonder I was finding stuff to be odd... – PearsonArtPhoto Aug 8 '12 at 13:08
It's probably actually Solaris, but I'd rather not get into Sun's confusing versioning and naming scheme. – jsbillings Aug 9 '12 at 14:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.