What is the meaning of *nix?

RubyLinuxUnixOperating System

Ruby Problem Overview


What is the meaning of *nix, and what is its relation with Ruby?

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 its relation with Ruby ? because the question was about Ruby.

Ruby Solutions


Solution 1 - Ruby

*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.

Solution 2 - Ruby

*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.

Solution 3 - Ruby

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

See also the UNIX-like Wikipedia page.

Solution 4 - Ruby

*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]

Solution 5 - Ruby

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

Solution 6 - Ruby

"*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.

Solution 7 - Ruby

A Unix-like (sometimes referred to as UN*X or *nix) operating system is one that behaves in a manner similar to a Unix system, while not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Unix-like application is one that behaves like the corresponding Unix command or shell. There is no standard for defining the term, and some difference of opinion is possible as to the degree to which a given operating system or application is "Unix-like".

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionCristiano FontesView Question on Stackoverflow
Solution 1 - RubyDSimonView Answer on Stackoverflow
Solution 2 - RubyZazView Answer on Stackoverflow
Solution 3 - RubyAndy ThomasView Answer on Stackoverflow
Solution 4 - RubypeoroView Answer on Stackoverflow
Solution 5 - RubySatyaView Answer on Stackoverflow
Solution 6 - RubyIgnacio Vazquez-AbramsView Answer on Stackoverflow
Solution 7 - RubyManjeet BrarView Answer on Stackoverflow