Unix Vs Linux Now you’ve probably heard of the word Linux you know it’s an operating system in fact it’s the kernel that’s used at the heart of the Android operating system. It also runs on a wide range of devices including desktops and laptops. it’s at the heart of Chrome OS you can get it on servers it even runs on the Raspberry Pi now you may have also heard of Unix and of course, they sound similar Linux Linux and UNIX and you may wonder if are the same thing are they compatible are they completely different so if you want to know what is the difference between UNIX and Linux, please. let me explain okay to understand the difference between these two operating systems we need to know a bit about the history of how we got to where we are today so let’s start.
Unix
With Unix so UNIX was invented by two men that is Ken Thompson and Dennis Ritchie now you may have heard those two names before. Dennis Ritchie, of course, is famous for inventing the C programming language and if you have a copy of the C programming language book by Brian Kernighan and Dennis Ritchie Kernighan and Ritchie it’s Often called the KR version of the C language and then there is Ken Thompson and he is very famous for not only inventing lit. UNIX but he also invented the utf-8 character encoding that we use all the time today and he is the co-inventor of google’s go language so here we’re dealing with kind of legends in computing in the 19 late 1960s early 1970s Ritchie and Thompson along with people like.
Kernighan was working on an operating system called Multics and that’s the multiplexed information computer services that were an operating system that was designed to run multiple programs at the same time. Now the team got frustrated with the direction and the scope of the project and so in their spare time. Thompson and Ritchie started working on an alternative now at the beginning this alternative only could run one program at a time so rather than being called multi fx it kind of got nicknamed as. Unix where.
The U part was for you next and you can see what happened from here that was spelling was with a c’ at the end but over time and no one can remember why not even Kernighan not Richie Thompson but over time that got changed to Unix with an X at the end and hence. The UNIX operating system was born now it was written first of all in the early 1970s and by 1972 the C programming language that Kernighan Richie was developing had become sufficiently mature that they able to rewrite the operating system in just C now interesting is at the time AT&T was forbidden from entering into the computer market due to some previous legal problems. They had monopolies and so, therefore, all AT&T could do was license the source code for this new operating system and that’s exactly what they did it started being used in various universities around the country and one of the universities where the new operating system arrived was at the. You may also Like What Happens When Someone FALLS IN THE SEA.
The University of California in Berkeley now over time AT&T actually separated itself from Bell Labs and it was able now to end into the computer market so by the early 80s it had actually started to sell a commercial version of its UNIX operating system and this commonly became known as system 5 and there’s a whole reason for that to do with different versions that came before it but it was called system 5 now at the same time the people at Berkeley were also continuing to develop.
Is Unix The Same As Linux?
The UNIX sources that they got way back when AT&T was licensing the sources and this led to a flavor of units called the BSD version because it’s from the Berkeley software distribution and so by the mid-80s you’ve now got two versions of UNIX running you’ve got system 5 from 80 itself and you’ve got BSD from California now from these 2 branches various important and well-known versions of UNIX were spawned for example hp-UX and Solaris come from the system 5 kind of inheritance and operate systems like Ultrix which was from Dec.
Digital Equipment Corporation came from the BSD line now of course over time the various different things that were being developed in these top racism were cross ported the most important one was that networking, first of all, came to the BSD distribution, and eventually that made its way over into system 5, of course, all this source code is still under the source code license that came from tea when they originally sold it to the various universities so over time. The BSD virtual started to replace the files that came from AT&T with their own version so it became separated from the system’s five versions eventually in the university of California side released publicly the source code for its version of the operate is ‘m and it said it was free from all AT&T files, of course, there was a lawsuit and we’re now in the early 90s you’ve got the university of California vs.
AT&T and ultimately the lawsuit was dropped and what came out of that protest was a version called BSD 4.4 light which is meant to be a version of unix which has no source files that recently came from AT&T now this version of bsd then went on to create what we have today which is FreeBSD and various other operating systems including in part mac OS which we’ll talk about in a moment now the upshot of all this is that two important things happened one is that we now have a defined.
Is UNIX An OS Or Language?
UNIX philosophy so the idea of you write one program and it does one thing really well the idea that a program it’s output could become the input to another program which is the idea of pipes the idea of how you compile programs and how the command line works this has all been defined because of system 5 and because of BSD and the other thing that happened is that they wanted compatibility between the versions so there started to be published a range of standards the most popular one being POSIX which actually says that if your program is to compile on this operating system it has to have these API’s that have these particular functions so you’ve got the POSIX specification which redefined what.
UNIX does from a programming point of view now while all this was going on there are several other things that were happening in parallel that we need to know about Wiley is the start of the new foundation good news standing for good news not Unix which of course is recursive because then to go back into canoe you see good news not Unix good news not.
When Did Unix Become Linux?
Unix was started by Richard Stallman and he is responsible for the idea of free software not free is no cost but free is the freedom that we have today and also he was responsible for making sure there was new. C compiler the new see runtime library and lots of other tools that were used to able to be able to build a free version of UNIX without relying on the BSD files or relying on the AT&T files also it’s worth mentioning there was another operating system called MINIX which was written by Andrew Tannenbaum and he was using this as an educational tool to teach students.
The fundamentals of operating system design so you’ve got system 5 BSD which has been released publicly you’ve got MINIX and you’ve got the new tools so in Finland in the early 1990s there was a student at university called. Linus Torvalds had used MINIX and he knew about Unix. He wanted to overcome the deficiencies that he saw him Enix and write his own operating system and he did that and published it and announce it to the world now there are a key couple of things about this announcement, first of all, it ran on PCs that’s 386 pcs so we’re not dealing with mainframes not dealing with supercomputers we’re dealing with something that maybe students can have in their house and that actually made it accessible to many people who are interested in doing OS development the other thing to note is of course.
We’ve got all the tools that came from the group projects you’ve got the compiler and the shell and all the things you need that came over from canoe and they were being able to be used by leanness to actually create the Linux kernel and also at the time that he actually published his announcement the. Linux kernel was completely free of all. MINIX code of course when Linux was developed it was developed using the same philosophy and the same model as the UNIX philosophy and the UNIX programming environment that came out of system 5 and BSD and quickly it gained the support it gained a lot of interest and really started to take off what in 1992 the X windowing system was ported over to the
Linux:
Linux kernel which means you could now have a desktop with Windows you’d open up multiple terminals and people really started to use it and that’s when. I got on board I first used it. Linux when it was about version 0.98 I think we downloaded it at university we started using it on our pieces these are home to see what we could do with it another key thing is before we got to version one of Linux it had started using GPL that’s the gue new public license that came with the free software philosophy from the new foundation so now you have this open source free software that everybody is able to contribute to and now you wind fast forward to today and we can see that Linux is absolutely everywhere so.
The popularity of Linux is undisputed it runs at the heart of the Android operation since that means literally there are millions of people every day who are using Linux you’ve got it on servers 60% of those web servers on the internet are using Linux and of course, you’ve got it in things like. Chrome OS and so on but to that Linux isn’t a version of Unix it’s a clone of Unix or today they like to call it Unix-like because UNIX was actually a product sold by AT&T through its system’s five branches and it was an operating system developed from. Berkeley University so Linux doesn’t use that source code but it uses that philosophy it’s a clone it’s Unix-like so where are we today well obviously
Linux is still used in many many places and BSD those BSD source codes kind of morphed into FreeBSD which you can download and install on a PC even today and through various different kinds of merges and workings you’ll find part of it even actually in Mac OS through next step and then down into the new version of Mac OS which. Steve Jobs kicked off once he returned to the company so in that end actually, you’ll find that the most popular version of UNIX used today is actually Mac OS so before I made this video I had a quick search with. The whole Linux development tree and you can still find references back to it.
Unix in the tree in two particular cases one is in some files it will mention that the file originally came from Unix and however it’s now been rewritten and changed to be completely open-source code and in second place there are many many interfaces many many ways that things work the philosophy of Unix that you still find in Linux and so,
Therefore, there are various labels and various things tagged as unique because actually that was the way that eunuch did it and so that’s the way that Linux does it now I wanted to see how well this has stood up to history so.
How Many Types Of Linux Are There?
I found some source code to Ultrix 4.3 which is a version of the BSD Unix that Dec released in the mid-80s and I took one of the files in there in this particular one it was backgammon a terminal version of backgammon and then I copy the source file over onto my Raspberry Pi and then. I tried compiling it to see how it would work now there were some differences in how the C compiler work today it took me about five minutes to fix those and then voila. I had a version of backgammon running on my Raspberry Pi from an original version of the source code that was released well how long ago is that thirty years ago and it still works because?
Unix Vs Linux
Linux is a UNIX clone and the UNIX we had then and the Unix Linux that we have now are very very highly compatible of course that’s sort of code-compatible binary compatibility is a whole different story there are some binary compatibility layers between various versions. Linux and FreeBSD and so on but let’s not worry about that now just to clarify a couple of things at the end you know of course Linux distributions are we talking like you know red hat or fedora or 1/2 or arch or whatever your favorite version links distribution is included much more than just than in its kernel, of course, you’ve got a whole bunch of tools like you know the KDE desktop and the gnome desktop and things like.
Libera office and Chrome and Firefox and all these things that are included and that’s absolutely fine and at the heart of it is the Linux kernel and FreeBSD is the same if you get a FreeBSD distribution it comes with the FreeBSD kernel which is based on the source code that was released by BSD 4.4. Light but then on top of that you’ve got the desktop and applications like firefox or so on that are actually part of the greater ecosystem of free software okay so in summary Unix is actually a product that was sold by AT&T as a commercial product its source code was licensed in the early days which means eventually we had some of the source code out in.
Which Linux OS Is Best?
The public that was used operating systems like FreeBSD and to some extent like Mac OS which we have today Linux was written using MINIX as a way of writing a UNIX clone or a UNIX-like operating system and today it doesn’t share any files with the original versions of UNIX from back in the 70s and 80s and ultimately free software has won the day here because of course Linux is so popular not only on servers but also on smartphones so my name is Gary Sims and this is Garrick space I really hope you enjoyed this video.
If you did please do give it a thumbs up if you’ve got any questions about UNIX and Linux please ask me in the comments below and I’ll try my best to reply you know what else I’m going to ask you to do please subscribe and please share this video on social media, okay well that’s about it so I’ll see you in the next one. For More Information Visit Our Site
You May Also Like:- Other Bone And Joint Disorders