IT6004 01 LectureNotes
IT6004 01 LectureNotes
1
Learning Objectives
• Explain what an Operating System is
• Explain what Unix is and give an overview of
the evolution of the operating system
• Describe some differences between Windows
and Linux
2
Activity – Revision
In groups, answer the following questions:
4
Unix Architecture / Software Layers
Application Layer
-- The user interacts with this layer
Middle-Ware Layer
-- Connects application to hardware
REQUEST
7
UNIX vs. WINDOWS vs. MAC
OS’es are examples of the “Middle-Ware Layer”
They connect the hardware to the applications
Application Layer
Middle-Ware Layer
Hardware Layer
8
The UNIX programming interfaces
• API : Application Program Interface
• Set of C header files (*.h files)
• math.h : defines
• data types : float, double …
• mathematical functions : cos(x), sqrt(x) …
• Set of various functions ( system calls ).
• int mkdir(const char *path, mode_t mode);
11
Unix/Linux GUI’s
( Graphical User Interfaces)
• Unix (and Linux) distributions often have a
windowing system like Microsoft Windows.
This is called a Graphical User Interface or
“Desktop Environment”.
• The Desktop Environment you will see is
nothing more than another piece of software
running on the OS
• Makes using the OS more user friendly
• Developers spend most time interacting with the
API/UI/CLI
12
Linux vs. Microsoft Windows
• Linux is very different from Microsoft Windows
• It can do anything that Windows can do
• Unix/Linux developers have created a large
collection of free software that is often better
than the Microsoft OS equivalent.
13
Activity – Application Software
14
Linux vs. Microsoft Windows
Due to the way Linux (and Unix) is configured, it
is quite rare to get a virus for the OS
• Not many virus writers for Linux either
Linux is used in many situations:
• Desktop OS
• Server OS
• Mobile phone OS (Android is one example)
• Satellite receiver
15
Summary
• Unix/Linux are OS’s like Windows
• Unix/Linux are OpenSource/FreeWare
• Applications that run on Unix/linux are
generally OpenSource/FreeWare
16