Home » Linux » What is the meaning of *nix ? And what is it's relation with Ruby?

What is the meaning of *nix ? And what is it's relation with Ruby?

Posted by: admin November 30, 2017 Leave a comment

Questions:

Just saw that in an interview question… I think there is something to do with UNIX distros, but I am not sure.

Could not find it here or in the Wikipedia, so I am asking.

What is the meaning ?

And what is it’s relation with Ruby ? because the question was about Ruby.

Answers:

*nix just means operating systems that are like the old workhorse Unix. Some examples include Linux, FreeBSD, and Mac OS X (its kernel, Darwin, is based on BSD).

The main relation between *nix and Ruby is just a pragmatic one; most Ruby developers seem to prefer to work on Unix-like OSes (typically Linux or Mac OS X). There’s no official relationship, and it’s quite possible to work with Ruby on non-*nix OSes like Windows.

Questions:
Answers:

*nix means UNIX-like; it is an operating system that behaves in a manner similar to that of a UNIX operating system without necessarily conforming to the Single UNIX Specification.

Wikipedia:*nix actually redirects to Wikipedia:Unix-like.

As for Ruby’s connection to *nix, Ruby was developed mostly on GNU/Linux by the open-source community, so it may be something to do with Ruby running better on *nix systems or Ruby developers preferring to work on *nix systems.

Questions:
Answers:

It’s an abbreviation for UNIX-like operating systems, including LINUX.

See also the UNIX-like Wikipedia page.

Questions:
Answers:

It means the unix-like family of OSes. No relation to Ruby.

Questions:
Answers:

*nix is a general term to refer to the whole family of Unices, to the operating systems that follow the POSIX1 standard.

Ruby is a programming language, there’s no general relationship between the two.


1: Portable Operating System Interface [for Unix]

Questions:
Answers:

“*nix” refers to the Unix family of operating systems and its FOSS variants (Linux, FreeBSD, etc.). They have a different API than Windows, so any programming or scripting language that runs on them will have slightly different behavior and capabilities than on Windows.