Week 01 A
Week 01 A
Abdul-Rahman Mahmood
Assistant Professor, Computer Science, FAST-NU
[email protected] reddit.com/user/alphapeeler
alphapeeler.sf.net/pubkeys/pkey.htm www.flickr.com/alphapeeler
pk.linkedin.com/in/armahmood http://alphapeeler.tumblr.com
bqb-tsid-asp [email protected]
alphapeeler [email protected]
alphapeeler abdulmahmood-sss
armahmood786 [email protected]
http://alphapeeler.sf.net/ pinterest.com/alphapeeler
Contents
Course outline
Is it really true? Facts!!!
Blue screen of death – Why?
The restart dilemma !
About the course
POSIX Operating System History - Opensource concepts
Early Unix History Computer System Overview
Brief History of Linux Operating System Overview
Linux Timeline Process Description and Control
An open letter to hobbyist Threads
GNU / GLP
Concurrency: Mutual Exclusion and Synchronization
Cygnus / Rethat
The Cathedral and the Bazaar by Eric Memory Management
Windows Refund Day Uniprocessor Scheduling
Homebrew Computer Club I/O Management and Disk Scheduling
Open Source File Management
Who uses Linux Embedded Operating Systems
Why openSUSE Computer Security Threats
What is a Shell? Computer Security Techniques
Bash
3
1
Bruce Perens Frank Hecker
https://en.wikipedia.org/wiki/Bruce_Perens http://hecker.org/mozilla/
2
Linus Torvalds
https://en.wikipedia.org/wiki/Linus_Torvalds
What? Is it true?
15 16
What? Is it true?
Microsoft's antitrust trial,
wherein the Court ruled
that Microsoft Corporation's
Blue screen of death – Why?
bundling of Internet Explorer
with the Windows operating
system was a monopolistic and
illegal business practice.
1992 - $173M
1984 1998 - “Not a Strategic Product”
Forethought
Originally called QDOS, short for 1987, $14M
“quick and dirty operating
system” created by Tim Paterson
Visio Corp.
1980 at Seattle Computer Co.
2000, $1.375B
3
The restart dilemma ! POSIX
IEEE Std 1003.1-1988, released in 1988
Originally started as a UNIX like operating systems,
but eventually grew to 19 separate documents
(POSIX.1, POSIX.2 ..)
Fully POSIX-compliant
HP-UX, Solaris, OSX
Mostly POSIX-compliant
FreeBSD, Linux, MINIX, OpenSolaris
POSIX for Windows
Cygwin, MinGW, Microsoft POSIX subsystem
20
21 22
Linux Timeline
Richard Stallman, the founder of GNU Project
Joins MIT Artificial Intelligence Lab in 1971
The “incompatible time sharing system”
No passwords on their computers
What is actually a password?
A person who enjoys a playful cleverness
Beginning of the end of freedom.... passwords in MIT
Mid 1970's - "Homebrew Computer Club"
January 31, 1973 - Bill Gate wrote a open letter
Microsoft became the pioneer of proprietary software
model.
Homebrew Computer Club - 1975
23 24
4
Linux Timeline
GNU is?
1980 – 1991 :
Richard Stallman
Re-writing all of the programs from scratch
1991 : GNU replaced practically all of the programs of
UNIX.
The concept of Copyleft
GPL
Example of Copyleft
Linus Trovalds used this license for Linux.
With GPL you have the freedom of going with the
people who give you good support.
In case of proprietary software you can only get support
from only one company. Microsoft! 25 http://www.gnu.org/licenses/gpl-2.0.html 26
Linux Timeline
5
Windows Refund Day
EULA
If you do not agree to the terms of this EULA, PC First refund
manufacturer and Microsoft are unwilling to license Australian Geoff Bennett - refund from Toshiba
the software product to you. In such an event ... you Australia for the unwanted Microsoft OS included
should promptly contact PC manufacturer for with his laptop.
instructions on a return of the unused product(s) for a Geoff carefully read the OS's license statement, and
refund. noted that he was actually specifically required to
return the software for a refund (and forbidden to use
Windows 95 and a Windows 98
it), if he didn't consent to the license terms, which he
did not.
After a six-month epic display of mulishness, Toshiba
Australia finally gave him a $110 refund.
Microsoft Planed:
discredit users of non-Microsoft PC OSes such as Linux
and BSD.
without a mandatory Microsoft OS means supporting
illegal software copying
refunds should be sought from the OEM
Microsoft's control of the OEMs
What did it achieve?
change focus from OEMs to Microsoft itself.
Eric Raymond and Chris DiBona press the elevator button for the 9th floor. (It was
locked out.)
Revealed Microsoft tax schemes
6
Steve Jobs and Steve Wozniak
Homebrew Computer Club - 1975 with Apple-1 computer
Movies:
Pirates of Silicon Valley (1999)
Steve Jobs (left)
Jobs (2013)
and Steve
Several very high-profile hackers and computer Wozniak (right)
entrepreneurs emerged from its ranks, including the met in a friend’s
founders of Apple Inc. garage in the late
Gordon French, co-founder of the Homebrew
1960s. The two of
them bonded
Computer Club – arranged 1st meeting - 1975 over their shared
interest in
electronics and
practical jokes.
Open Source
Open source is free software !
History since; 1857; 1960’s
Goes beyond hobbyists and students
High quality software
Open source is a viable business model
Open source is a better software engineering
methodology
Why open source software is better:
Software is unlike a physical product
Software is heavily reuse oriented, incrementally
developed
42
7
Who uses Linux Which flavor?
Almost all Hackers rely on Linux
Almost all Supercomputers runs on Linux
Amazon.com (largest online retailer) switched
entirely to Linux and saved 17 million Dollars
Google, has a cluster of over 1000 Linux servers.
Wikipedia
US Department of Defense.
French Parliament
Commercial Bank of China
U.S. Postal Service
U.S. Federal Courts
45 46
47 48
8
What is a Shell?
SUSE Studio Just a Unix program executed when you log in
A command interpreter
provides the basic user interface to UNIX utilities
A programming language
program consisting of shell commands is called a shell
script
you can put commands in a file and execute it:
First, make the file executable (chmod u+x script−file)
49 50
Bash Conclusion
Advantages of Linux!
Disadvantages!
Linux does NOT hide anything!
Need for Antivirus ? No? Why?
Need for defragmentation tool? No!
Only 10% Desktop computing! Why?
Suited for Super computers
Suited for Embedded Systems
Very small : Tinycore (12 MB) / DSL (40MB)
Mobile, PDA, Headsets
51