3

What is the difference/relation between kernel name and OS name? Are they always the same thing?

For example, I am puzzled at the outputs:

-bash-4.1$ uname -s Linux -bash-4.1$ uname -o GNU/Linux 

What is difference between "GNU/Linux" and "Linux"?

3
  • Slow Saturday night? Asking all these uname questions? 8-) Commented Apr 13, 2014 at 3:01
  • yes, I am fighting with uname. Commented Apr 13, 2014 at 3:02
  • Related : unix.stackexchange.com/q/250506/66803 Commented Jan 2, 2016 at 10:24

1 Answer 1

3

If you take a look at the uname Wikipedia page titled: Uname there's a very nice table that shows the output of uname with all of its switches for just about every Unix I've ever heard of.

excerpt of table

    ss#1     ss#2     ss#3

If you look at the output it would imply that -s shows the name of the kernel, while -o shows the name of the operating system.

4
  • Thanks! I am wondering how uname distinguishes kernel name and OS name? Commented Apr 13, 2014 at 3:36
  • @Tim - do you mean technically how it does it or what's the difference? Commented Apr 13, 2014 at 3:52
  • The latter, i.e. difference in concepts, but I believe it is also what the implementation of uname follows Commented Apr 13, 2014 at 3:57
  • @Tim - well the kernel's the kernel. Take a look at this Wikipedia page: en.wikipedia.org/wiki/Kernel_(computing). The OS is a combination of a kernel + additional applications & libraries. Commented Apr 13, 2014 at 4:14

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.