LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2004, 08:30 AM   #1
SyStemChaoS
LQ Newbie
 
Registered: Jul 2003
Location: Local Area Network
Posts: 1

Rep: Reputation: 0
Question Just tell me Why ...


Why don't you write Unix? It's always only *NIX ...
 
Old 05-17-2004, 08:56 AM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
A * is to replace the part that changes. You use that syntax when you want to refer to something that works for all *nixes, got it?
Just like when you say win9X, the x is for 95 and 98.
 
Old 05-17-2004, 09:08 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,430

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
*nix refers to both linux and unix.
 
Old 05-17-2004, 10:44 AM   #4
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
the * is called a wildcard. wildcards are interpreted as different things by the shell. a few examples:

* an asterisk matches any number of characters, including none.

? the question mark matches any single character

[] Brackets enclose a set of characters, one of which may match a single character at that position.

...

so *nix could match unix, linux, nix, thisisareallylongandstupidnamenix, etc.
and ?nix could match unix, onix, knix, but not linux

but as michaelk has said, it typically means both unix and linux.

hope this helps.

Last edited by lyceum; 05-17-2004 at 10:46 AM.
 
Old 05-17-2004, 10:51 AM   #5
carlmarshall
Member
 
Registered: Jan 2004
Location: North Yorkshire, UK
Distribution: Centos 5
Posts: 133

Rep: Reputation: 16
Oh no it couldn't!!!

*nix would definately NOT match Linux (*nux would)

Carl.
 
Old 05-17-2004, 10:52 AM   #6
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
haha, my bad.

the point being all variants of unix...

Last edited by lyceum; 05-17-2004 at 10:54 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration