Topic 1
Topic 1
INTRODUCTION
TO OPERATING
SYSTEM
Prepared by
Wan Norhayati bt Wan Tahir
Zainora bt Kamal ludin
WINDOWS
LINUX
Mac
SUN
Windows
Linux
• Process Management
• File Management
• Directory management
Process management
• Examples of System Calls for Process Management in UNIX
• A lot of services such as memory management, file system
management, etc. are provided by the system calls, and one of them
is process management.
APPLICATION
Shell
• A shell is software that provides an interface for users of an
operating system to access the services of a kernels.
• The name shell originates from shells being an outer layer of
interface between the user and the internals of the operating
system (the kernel).
• In either category the primary purpose of the shell is to invoke
or "launch" another program;
String
#!/bin/sh
clear ls -al
• the shell script would start with its normal starting line of #!/bin/sh.
• the script executes the command clear which clears the terminal of
all text before going to the next line. The following line provides the
main function of the script.
• The ls -al command list the files and directories that are in the
directory from which the script is being run. The ls command
attributes could be changed to reflect the needs of the user.
Windows Power Shell
Windows PowerShell ISE
Ubuntu GNOME Shell
The GUI was first developed by Xerox Parc by Alan Kay and Douglas
Engelbart in the late 1970s. Apple was the first to use them in there
Macintosh computers and later Microsoft uses it.
• The GUI components are use to carry out commands like copying
data, moving and deleting of files, opening files etc.
Most GUI commands are carried out through Mouse. GUI based
operating system is very easy to operate as command do not need
to be memorized. Due to ease in use almost every Operating System
uses GUI Operating System like Microsoft Windows, Apple, Mac OS,
Chrome OS, Linux etc.
NETWORK OPERATING SYSTEMS
Novell Netware
Cisco IOS
NOS
• an operating system that includes special
functions for connecting computers and devices
into a local-area network (LAN). Some operating
systems, such as UNIX and the Mac OS, have
networking functions built in.
• The term network operating system, however, is
generally reserved for software that enhances a
basic operating system by adding networking
features.
List Of NOS(p2p)
• Peer to peer
• Apple Share
• Windows Workgroup
• Advantages
• Ease of setup
• Less hardware needed, no server needs to be purchased.
• Disadvantages
• No central location for storage.
• Lack of security that a client/server type offers.
• network operating systems (NOS) coordinate the
activities of multiple computers across a
network. The network operating system acts as a
director to keep the network running smoothly.
List of NOS (client-server)
• Novell Netware,
• Artisoft's LANtastic,
• Microsoft Windows Server,
• Windows
• Apple Talk
List of NOS (client-server)
• Advantages
• Centralized servers are more stable.
• Security is provided through the server.
• New technology and hardware can be easily integrated
into the system.
• Servers are able to be accessed remotely from
different locations and types of systems.
• Disadvantages
• Cost of buying and running a server are high.
• Dependence on a central location for operation.
• Requires regular maintenance and updates.
Process Management
• Processor Management
• In multiprogramming environment, the OS decides which
process gets the processor when and for how much time. This
function is called process scheduling. An Operating System
does the following activities for processor management −
• Keeps tracks of processor and status of process. The program
responsible for this task is known as traffic controller.
• Allocates the processor (CPU) to a process.
• De-allocates processor when a process is no longer required.
• Device Management
File management
• A file system is normally organized into directories for
easy navigation and usage. These directories may contain
files and other directions.
• An Operating System does the following activities for file
management −
• Keeps track of information, location, uses, status etc. The
collective facilities are often known as file system.
• Decides who gets the resources.
• Allocates the resources.
• De-allocates the resources.
Memory Management
• Memory management refers to management of Primary
Memory or Main Memory. Main memory is a large array of
words or bytes where each word or byte has its own address.
• Main memory provides a fast storage that can be accessed
directly by the CPU. For a program to be executed, it must in
the main memory. An Operating System does the following
activities for memory management −
• Keeps tracks of primary memory, i.e., what part of it are in use
by whom, what part are not in use.
• In multiprogramming, the OS decides which process will get
memory when and how much.
• Allocates the memory when a process requests it to do so.
• De-allocates the memory when a process no longer needs it or
has been terminated.
Self Review
• Explain briefly menu-driven system .
• Explain Network Operating System
• Relate memory management subsystem in operating
system
SELF REVIEW