An Introduction to the Development, Features, and Usability of the Linux Operating System

Version 1.5 Novenber 2004

Presented by Robert Joseph Korn

A Look Beyond Windows

History of Linux

Features Supported Under Linux

A Few Myths About Linux

Unresolved Issues in Linux

Major Supporters of Linux

Some Reasons to Use Linux

Online Resources and Contact Information

A Brief Overview

The core of the Linux operating system was coded by a Finnish programmer called Linus Benedict Torvalds in 1991, when he was just 21! He had got a new 386, and he found the existing DOS and UNIX too expensive and inadequate.

The Beginning

In those days, a UNIX-like tiny, free OS called Minix was extensively used for academic purposes. Since its source code was available, Linus decided to take Minix as a model. In his own words, 'I wanted to write a better Minix than Minix.'

Linus now works for Transmeta Corp. in California. Home page: www.cs.helsinki.fi/~torvalds

The Origins of Linux

Growing and Growing...

In order to encourage wide dissemination of his OS, Linus made the source code open to public. At the end of 1992 there were about a hundred Linux developers. Next year there were 1000. And the numbers multiplied every year.

Recent estimates say about 18 million people use Linux worldwide. This doesn't include non-personal computers, such as server machines on the Internet and other networks.

More stats are at the Linux Counter. If you run Linux, you can also add your machine there.

Source: The Linux Counter

Linux: No of Users

Linux Today

Though Linus never imagined it, Linux quickly became a general tool for computing. People stopped looking at Linux as a toy, and began to think about it seriously. Today there are tens of thousands of applications that can be run on Linux, from Office Suites to 3D games. Hundreds of Linux User Groups the world over discuss ways to make Linux work better.

Red Hat has over 30 million lines of source code, mostly in C. Source: David Wheeler

Distributions of Linux

In tune with the power-of-choice tradition of Linux, many companies and communities now offer it along with lots of applications. Though the OS is the same, the bundled software do vary from one distribution to another. Mandrake, Red Hat, SuSE, Debian, Gentoo, Lycoris, Slackware, and Turbolinux are just a few of the distributions available. Usually the distributors charge a nominal fee for the media and for technical support in the future. Debian is a high-quality non-commercial distribution of Linux.

There are more than 200 distributions of Linux today. To create your own, visit LinuxFromScratch.org

CODE

COMPILER / ASSEMBLER

EXE

Any software, at heart, contains binary instructions -- a continuous stream of 0's and 1's -- to the processor so that it works the way it is supposed to. Encoding software directly in binary is a tedious, if not impossible, proposition for todays computers.

So a programmer uses an English-like higher-level language to write software. This program text is the source code; it is compiled or assembled to obtain the final executable.

Microsoft give away only the executable; Linux also gives you the source code -- hence it is open-source. Does this matter? A lot. Buying closed-source software is somewhat like buying a car with its hood welded shut.

Open Source – What does it mean.

Why Linux is Built Upon UNIX

UNIX has been time-tested for 30+ years, which is eons by computer age

The basic design of UNIX is elegant, being the brain-child of two master programmers: Thompson and Ritchie. Ritchie also co-invented the C language.

UNIX developed with contributions from many different sources; today it hosts a huge collection of excellent software

UNIX is very well-documented, and source code is available for much of the system, unlike MS Windows, for example.

Thompson and Ritchie, the creators of UNIX, working on a PDP-11 machine.

Google, Amazon, CNN and Yahoo all run UNIX based operating systems. Source: NetCraft

Features of Linux

Features Supported in Linux: True Multitasking

The OS handles all scheduling of processes (and kernel threads).

No application can hog the resources unless the system administrator specifically defines it as high-priority.

This leads to smoother performance and better load-balancing

All applications in Linux run in their own private memory space. This means that a poorly-written application cannot tamper with the memory of another application (or the kernel). If an application does try to access memory it doesn't own, it is immediately halted by the operating system, without disturbing any other process on the system

Multitasking under Linux: The number of apps you can run is limited only by the memory you have.

Did you know that the special effects in Titanic were created using computers running Linux?

Multi-User and Customisable

UNIX was designed with the notion that multiple people would be sharing use of the system at the same time. Several people can log into a Linux machine and each of them can run whatever programs he likes. UNIX applications are written from scratch with the idea that multiple people will be using them, and each may have entirely different preferences. Many people can use the same application at the same time according to their liking!

Linux Machine

USER 1

USER 2

USER 3

Compile a program

Talk with another user

Run a script

49% of IT professionals think Linux is essential or important for their corporate strategies. Source: MERIT

Windows allows the use of DLLs (Dynamic Linker Libraries) to modularise applications and reuse code. But version conflicts often arise, which might make some applications or even the whole OS useless

Easy Remote Administration and DLL Handling

Because of the fundamental design of UNIX, every application can run on one machine and display its interface on another. This is extremely useful for remote administration

Linux also handles DLLs (called shared objects), but it checks the version of the shared object each application is asking for, and then loads the correct version.

A DLL Goof-up in Windows

It would have cost a firm over US$1 billion to develop Red Hat Linux 7.1 by itself Source: David Wheeler

Efficient Memory Management

Linux is outstanding in the area of memory management. It will use every scrap of memory in a system to its full potential. The Linux kernel occupies just 2 MB, whereas NT takes 16 MB!

When building a simple web server a machine with only 32mb of memory is still perfectly usable under Linux. A similar setup under windows 2000/3 or XP would require at least 256mb memory.

How shall I get 64 MB AGAIN for Win 2000?

In a performance test by SysAdmin, Linux beat Windows NT, Solaris and FreeBSD by a margin >35%

Efficient Memory Management (Contd.)

Demand-loading is very useful as well. Linux only loads into RAM the portions of a program that are actually being used, which reduces overall RAM requirements significantly. At the same time, when swapping is necessary, only portions of programs are swapped out to disk, not entire processes. This helps to greatly enhance multiprocessing performance.

Finally, any memory not being used by the kernel or applications is automatically used as a disk cache. This speeds access to the disk so long as there is unused memory.

Why waste money on upgrades when you can use it with Linux?

Linux/Netscape ran 30-40% faster than NT4/IE4in rendering simple HTML: Microsoft Source: The Halloween Documents

Richard Stallman is the founding father of the Free Software Foundation, which aims to code software and give them away for free. One of the pilot projects of the Free Software Foundation is GNU which stands for GNU's Not UNIX”.

This goat is the logo of GNU

Stallman liked UNIX so much that he thought it should be given away for free. The GNU project, started in 1984, has developed thousands of software which do all that the original UNIX tools did, but with a difference: they are much better, cost nothing, and come with the source code.

GNU and Linux share a symbiotic relationship. While the Linux kernel still lies at the core, GNU software make the system much more functional. Hence the awkward but accurate: GNU/Linux

Images: gnu.org

Powerful File System

Linux normally uses its own high-performance file system, which uses disk space much more efficiently, optimises for speed on reading and writing, and automatically prevents fragmentation. The Linux file-system literally does not need a defragmenter, though one is available. Linux also has a Journaled file system available to provide excellent data protection.

Linux can also read and write all FAT variants (FAT12, FAT32), Windows NT's NTFS, OS/2's HPFS, and many others you've never heard of. Often it can use them faster than their native operating system can!

Linux can use your hard disc better

The Linux ext2 file-system supports up to 4000 GB of data

Linux has the Unmatched Stability of UNIX

Linux also provides the ability to dynamically increase swap space and then reduce it later without a reboot, unlike Windows, where it grows and grows until a restart

Linux enforces a strict separation between the kernel and other applications. Most services like mail, file and print serving, web serving and so on are applications, and can usually be changed dynamically. At worst, a specific application may need to be restarted, and not the whole system. Reboots are only for kernel updates and hardware changes. UNIX systems have uptimes in terms of years!

MS Word has frozen

Linux represents a best-of-breed UNIX, trusted in mission-critical applications, with a long term credibility that exceeds most other competitive OSes: Microsoft. Source: The Halloween documents

Built-in Networking Support

TCP/IP networking and the Internet was originally developed on UNIX systems, and most of the high-power networking in the world is done on UNIX. About 75% of the web servers on the Net run a version of UNIX.

In fact, Linux has the largest market share for the entire Internet, running 25.7% of the news servers, 26.9% of the web servers, and 33.7% of the FTP servers in the world. Apart from extremely fast and reliable networking, dozens of major and minor network services are usually provided when you get Linux. Web servers, file and print servers, ftp servers, NIS servers, IRC servers, news servers, and more are available for free or very little cost.

Linux is network ready

With Linux, you can set up a 486 to be an Internet proxy, a firewall, or an FTP/Printer server for your LAN

High Level of Security

Linux is a very secure operating system, much more secure than Windows 9x and even Windows NT.

The majority of viruses are windows based. Linux is immune to these threats. There were a few viruses that targeted Linux but Linux has a file permission structure which greatly limits the damage a virus can do

Linux is less prone to hacker attacks than most OSes. This is partly because of its design and its open-source nature.

Source: toonshome.com

Oh, was that you? I thought it was a virus and I deleted the mail.

>50% of small businesses expect to increase their usage of Linux, and over 75% of large businesses expect to deploy additional Linux systems: Zona Research Study Report

Linux is emerging as a strong competitor to Windows. It has given enough scare to Microsoft, that it circulated a memo on the damaging effects of Open-Source revolution! This table, built by a Microsoft certified NT professional, shows a feature by feature comparison of Linux and Windows NT.

Source: www.unix-vs-nt.org/kirch

Linux vs Windows

♦ Linux is open, so insecure

♦KDE 2.2 was rated by PC Magazine as the most user-friendly GUI, beating WinXP!

♦ Linux is not as polished as Windows

♦ When programmers find a piece of bug in the source, they quickly try to fix it, rather than capitalise on it. Since the code is available to all there are enough “eyes” to catch and resolve most security problems quickly.

Bugtraq reported only 20 vulnerabilities in Debian Linux for 2000, while Windows NT had as many as 85.

A Few Myth's About Linux

♦ There are not many applications for Linux

♦ Linux does not have a centralized authority

♦Linux might be coded by programmers around the world, but there is a group of people headed by Linus who have the ultimate say on it. They decide on the next version of Linux

♦ As of today, there are over 15,000 major applications built for the Linux platform. You can code in C, Java, perl, php, etc.; listen to music; browse the Web; play an action game; watch a movie; and even modify this slideshow with OpenOffice!

You can do everything in Linux as in Windows

The number of enterprise level applications available for Linux in the first half of 2000 grew by 30%: IBM

♦ The various UNIXes are fragmenting into a plethora of incompatible versions

♦ UNIX systems now broadly adhere to ANSI and POSIX standards, that allow software to be source-compatible across different platforms, ranging from embedded micro-controllers to supercomputers. The X/OPEN standard allows a common desktop across all platforms. On the Intel x86 platform, for example, Linux can run SCO UNIX binaries, and FreeBSD can run Linux binaries. At a pre-release Solaris 10 event at Sun headquaters in NYC, Sun developers touted how Solaris can run Linux binaries.

Caldera UnixWare

DEC Digital UNIX

FreeBSD

HP-UX

IBM AIX

Linux

SGI IRIX

Sun Solaris

Linux is POSIX compliant, making it easier to port code to it, as well as integrate it with other systems

To quote Stallman, 'Freedom is much more important than technical superiority or ease of use.' Patience!

Linux is not very beginner-friendly

Linux can be overwhelming for a new user from Windows. Stop comparing Linux with Windows every once in a while, and you will gradually appreciate Linux.

It is sometimes hard to work with Linux software

Installing Linux is difficult

Installing Linux is an adventure for a novice accustomed only to Windows. Ever heard of swap partitions and mount points?

Linux is the No. 1 threat to Windows: Steve Ballmer, CEO, Microsoft

Some Issues with Linux

Most hardware works well in Linux, but a few, especially win-modems and certain brands of printers, video-cards, and sound-cards, can be notoriously uncooperative. As more firms realise the power of Linux, getting drivers won't be a problem.

There is a lack of user-friendly help in Linux

Linux is still heavily command-dependent

Be prepared to read long technical manuals, and subscribe yourself to your local Linux user-group mailing lists!

Though KDE and GNOME are great GUIs, you still cannot forgo commands. Sooner or later, you will use the prompt.

Linux is choosy on hardware

Linux: Best Desktop Operating System 1996. Source: InfoWorld

Linux has found a large following, from a broad spectrum of organisations. Here is a short list of major supporters and users of Linux.

Click on any logo to visit the company’s Web-site. Full list.

Linux is the fastest growing server operating system in 2000, with a growth rate of 166%. Source: IDC

Major Supporters of Linux

Linux has legendary stability. Blue screens are unknown; crashes, very rare.

Linux is ideal for networking: You can freely set up a functional and stable router, firewall, Web server, mail server, or FTP server right out of the box.

Linux can talk with many other systems, including NT, NetWare and Sun. It supports multiple-processes and -processors, and a variety of file systems.

Low resource requirements of Linux means you can bring even a 486 to glory

Linux gives you choice from GUIs and shells to everything. The range of applications is huge, and powerful package management systems exist.

Linux is reliable, secure, easily upgradeable, and has an open design, logical file system layout and supportive community, which make it a zero-maintenance system

Linux comes with the world’s best compilers and development tools, complete with version control software. It is a programmer’s heaven.

And finally, the best part: Linux is free. You can share it with everyone.

Summary

Why Use Linux ?

Do You Want the Whole Story ?

After a Short Break.....

If you have any questions or comments I can be reached at

rjk@korn.net

We'll take a look at the contents of the The Open CD and boot up Knoppix Live for a Demo

For more information or to download these slides go to

www.wvpcug.org or www.korn.net/wvpcug

FYI: This Presentation was shown using the Knoppix Live CD Handout

Linux Presentation at WVPCUG 11/4/2004

Sudhir Gandotra

2003-02-05T00:33:42