© Prepared By: Razif Razali 1 TMK 265: UNIX SYSTEM CHAPTER ONE – UNIX PHILOSOPHY.

Slides:



Advertisements
Similar presentations
Operating System.
Advertisements

What is an operating system? Is it software?
Objectives Overview Define an operating system
A Guide to Unix Using Linux Fourth Edition
Chapter One The Essence of UNIX.
Chapter 18 Three Operating Systems
Operating Systems: Software in the Background
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Computer Forensics Principles and Practices by Volonino, Anzaldua, and Godwin Chapter 6: Operating Systems and Data Transmission Basics for Digital Investigations.
F2032 Fundamental of OS Chapter 1 Introduction to Operating System Part 4.
Guide To UNIX Using Linux Third Edition
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
Basic Unix Dr Tim Cutts Team Leader Systems Support Group Infrastructure Management Team.
Systems Software Operating Systems.
Computer Software.
Linux Operating system
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
What is Unix Prepared by Dr. Bahjat Qazzaz. What is Unix UNIX is a computer operating system. An operating system is the program that – controls all the.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Computer for Health Sciences
Chapter 4 Operating Systems and File Management. 4 Chapter 4: Operating Systems and File Management 2 Chapter Contents  Section A: Operating System Basics.
Operating systems CHAPTER 7.
Chapter 4 System Software.
Introduction to Unix/Linux Chapter One The Essence of UNIX.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
Module 1 Introduction to UNIX/Linux
BAI517 Chris Redford. Section Outline Objectives GNU The Linux 2.6 Kernel The Heritage of Linux What’s so good about Linux? Features of Linux.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
CS 390 Unix Programming Environment Summer Suchindra Rengan - CS3902 Course Details Instructors Suchindra Rengan – ‘sachin’ ( Section 001)
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
F PRESENTED BY YAN FENG F STUDENT ID: F Instructor: Professor Morteza Anvari F DATE: 03/17/2001.
Computers & Operating Systems
CS2204: Introduction to Unix January 19 th, 2004 Class Meeting 1 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty.
Unix/Linux for beginners:
FTP Short for File Transfer Protocol, the protocol for exchanging files over the Internet.protocolfilesInternet works in the same way as HTTP for transferring.
Unix – Linux CS3353 Ssystem Administration. OS The Operating System – Acts as the interface to all software, hardware, and users of a computer. – Requires.
System Administrator Responsible for? Install OS Network Configuration Security Configuration Patching Backup Performance Management Storage Management.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
CMSC 104, Lecture 031 Operating Systems I An Introduction to Operating System Concepts.
System Administrator Responsible for? Install OS Network Configuration Security Configuration Patching Backup Performance Management Storage Management.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Chapter 9 Operating Systems Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Introduction to UNIX CS465. What is UNIX? (1) UNIX is an Operating System (OS). An operating system is a control program that allocates the computer's.
Unix Advanced Shells Chapter 10. Unix Shells u Command Line Interpreter –once logged in, login gives control to a shell –it prompts for input, then parses,
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
OPERATING SYSTEM BY KINSHUK RASTOGI. WHAT IS AN OPERATING SYSTEM? What is an operating system in the first place? An operating system is a software that.
Operating Systems Overview Basic Computer Concepts Operating System What does an operating system do  A computer’s software acts similarly with.
WHY AN OPERATING SYSTEM (OS) OS interacts with hardware and manages programs. Programs not expected to know which hardware they will run on. Must be possible.
UNIX U.Y: 1435/1436 H Operating System Concept. What is an Operating System?  The operating system (OS) is the program which starts up when you turn.
به نام خدای مهربان زبان تخصصی دانشجویان کامپیوتر English for Computer Students درس 3 جوانمرد Ejavanmard.blogfa.com
CHAPTER 7 Operating System Copyright © Cengage Learning. All rights reserved.
A LECTURE NOTE.
Lecture 1-Part 2: Operating-System Structures
Operating System.
Operating Systems Georgios Varsamopoulos
Chapter 3 Software Interfaces.
Chapter 1 The Essence of UNIX and Linux
Chapter 2: System Structures
Introduction Paul Flynn
Lecture 1-Part 2: Operating-System Structures
Linux Professor Sabol.
Consult America Technology Consulting Services
Presentation transcript:

© Prepared By: Razif Razali 1 TMK 265: UNIX SYSTEM CHAPTER ONE – UNIX PHILOSOPHY

OVERVIEW –The UNIX Philosophy –Introduction to Unix System –History of Unix –Unix structure © Prepared By: Razif Razali 2

The UNIX Philosophy In 1994 Mike Gancarz (a member of the team that designed the X Window System), drew on his own experience with Unix, as well as discussions with fellow programmers and people in other fields who depended on Unix, to produce The UNIX Philosophy which sums it up into 9 paramount precepts:In 1994 Mike Gancarz (a member of the team that designed the X Window System), drew on his own experience with Unix, as well as discussions with fellow programmers and people in other fields who depended on Unix, to produce The UNIX Philosophy which sums it up into 9 paramount precepts: –Small is beautiful. –Make each program do one thing well. –Build a prototype as soon as possible. –Choose portability over efficiency. –Store data in flat text files. –Use software leverage to your advantage. –Use shell scripts to increase leverage and portability. –Avoid captive user interfaces. –Make every program a filter © Prepared By: Razif Razali 3

© Prepared By: Razif Razali 4 INTRODUCTION TO UNIX SYSTEM What is UNIX?What is UNIX? –UNIX is an operating system which was first developed in the 1960s, and has been under constant development ever since. By operating system, we mean the suite of programs which make the computer work. It is a stable, multi-user, multi-tasking system for servers, desktops and laptops. –UNIX systems also have a graphical user interface (GUI) similar to Microsoft Windows which provides an easy to use environment. –However, knowledge of UNIX is required for operations which aren't covered by a graphical program, or for when there is no windows interface available, for example, in a telnet session.

INTRODUCTION TO UNIX SYSTEM Types of UNIXTypes of UNIX –There are many different versions of UNIX, although they share common similarities. –The most popular varieties of UNIX are Sun Solaris, GNU/Linux, and MacOS X. –Here in the School, we use Solaris on our servers and workstations, and Fedora Core Linux on the servers and desktop PCs. © Prepared By: Razif Razali 5

INTRODUCTION TO UNIX SYSTEM The UNIX operating system is made up of three parts; the kernel, the shell and the programs.The UNIX operating system is made up of three parts; the kernel, the shell and the programs. The kernelThe kernel –The kernel of UNIX is the hub of the operating system: it allocates time and memory to programs and handles the filestore and communications in response to system calls. –As an illustration of the way that the shell and the kernel work together, suppose a user types rm myfile (which has the effect of removing the file myfile). –The shell searches the filestore for the file containing the program rm, and then requests the kernel, through system calls, to execute the program rm on myfile. When the process rm myfile has finished running, the shell then returns the UNIX prompt % to the user, indicating that it is waiting for further commands. © Prepared By: Razif Razali 6

INTRODUCTION TO UNIX SYSTEM The shellThe shell –The shell acts as an interface between the user and the kernel. –When a user logs in, the login program checks the username and password, and then starts another program called the shell. –The shell is a command line interpreter (CLI). It interprets the commands the user types in and arranges for them to be carried out. –The commands are themselves programs: when they terminate, the shell gives the user another prompt (% on our systems). © Prepared By: Razif Razali 7

INTRODUCTION TO UNIX SYSTEM –Types of Shell in UNIX environment: Bourne Shell (sh) Bourne Again Shell (bash) Korn Shell (ksh) C Shell (csh) Es Shell (es) © Prepared By: Razif Razali 8

INTRODUCTION TO UNIX SYSTEM The adept user can customize his/her own shell, and users can use different shells on the same machine. Staff and students in the school have the tcsh shell by default.The adept user can customize his/her own shell, and users can use different shells on the same machine. Staff and students in the school have the tcsh shell by default. The tcsh shell has certain features to help the user inputting commands.The tcsh shell has certain features to help the user inputting commands. Filename Completion - By typing part of the name of a command, filename or directory and pressing the [Tab] key, the tcsh shell will complete the rest of the name automatically.Filename Completion - By typing part of the name of a command, filename or directory and pressing the [Tab] key, the tcsh shell will complete the rest of the name automatically. History - The shell keeps a list of the commands you have typed in. If you need to repeat a command, use the cursor keys to scroll up and down the list or type history for a list of previous commands.History - The shell keeps a list of the commands you have typed in. If you need to repeat a command, use the cursor keys to scroll up and down the list or type history for a list of previous commands. © Prepared By: Razif Razali 9

HISTORY OF UNIX The origin of UnixThe origin of Unixorigin © Prepared By: Razif Razali 10

UNIX STRUCTURE Unix structure will be divided intoUnix structure will be divided into –File system –Operating System © Prepared By: Razif Razali 11

FILE SYSTEM The file system is the part of UNIX that organizes and keeps track of data.The file system is the part of UNIX that organizes and keeps track of data. The UNIX file system (UFS) is a file system used by many UNIX and Unix-like operating systems.The UNIX file system (UFS) is a file system used by many UNIX and Unix-like operating systems. It is also called the Berkeley Fast File System, the BSD Fast File System or FFS.It is also called the Berkeley Fast File System, the BSD Fast File System or FFS. It is a distant descendant of the original file system used by Version 7 Unix.It is a distant descendant of the original file system used by Version 7 Unix. File System in UNIXFile System in UNIXFile SystemFile System © Prepared By: Razif Razali 12

OPERATING SYSTEM UNIX is a layered operating system. The innermost layer is the hardware that provides the services for the OS.UNIX is a layered operating system. The innermost layer is the hardware that provides the services for the OS. The operating system, referred to in UNIX as the kernel, interacts directly with the hardware and provides the services to the user programs.The operating system, referred to in UNIX as the kernel, interacts directly with the hardware and provides the services to the user programs. These user programs don't need to know anything about the hardware. They just need to know how to interact with the kernel and it's up to the kernel to provide the desired service.These user programs don't need to know anything about the hardware. They just need to know how to interact with the kernel and it's up to the kernel to provide the desired service. Operating SystemOperating SystemOperating SystemOperating System © Prepared By: Razif Razali 13

Why Use Unix? One of the biggest reasons for using Unix is networking capability. With other operating systems, additional software must be purchased for networking. With Unix, networking capability is simply part of the operating system. Unix is ideal for such things as world wide and connecting to the Internet.One of the biggest reasons for using Unix is networking capability. With other operating systems, additional software must be purchased for networking. With Unix, networking capability is simply part of the operating system. Unix is ideal for such things as world wide and connecting to the Internet. Unix was founded on what could be called a "small is good" philosophy. The idea is that each program is designed to do one job well. Because Unix was developed by different people with different needs it has grown to an operating system that is both flexible and easy to adapt for specific needs.Unix was founded on what could be called a "small is good" philosophy. The idea is that each program is designed to do one job well. Because Unix was developed by different people with different needs it has grown to an operating system that is both flexible and easy to adapt for specific needs. Unix was written in a machine independent language. So Unix and unix-like operating systems can run on a variety of hardware.Unix was written in a machine independent language. So Unix and unix-like operating systems can run on a variety of hardware. © Prepared By: Razif Razali 14

Advantages of UNIX It is multitasking, therefore, multiple programs can run at one time.It is multitasking, therefore, multiple programs can run at one time. It is multiuser, allowing more than a single user to work at any given time. This is accomplished by sharing processing time between each user and utilizing distributed computing systems.It is multiuser, allowing more than a single user to work at any given time. This is accomplished by sharing processing time between each user and utilizing distributed computing systems. It is safe, preventing one program from accessing memory or storage space allocated to another, and enables protection, requiring users to have permission to perform certain functions, i.e. accessing a directory, file, or disk drive.It is safe, preventing one program from accessing memory or storage space allocated to another, and enables protection, requiring users to have permission to perform certain functions, i.e. accessing a directory, file, or disk drive. © Prepared By: Razif Razali 15

Disadvantages of UNIX The traditional command line shell interface is user hostile -- designed for the programmer, not the casual user.The traditional command line shell interface is user hostile -- designed for the programmer, not the casual user. Commands often have cryptic names and give very little response to tell the user what they are doing.Commands often have cryptic names and give very little response to tell the user what they are doing. To use Unix well, you need to understand some of the main design features.To use Unix well, you need to understand some of the main design features. Richness of utilities (over 400 standard ones) often overwhelms novices.Richness of utilities (over 400 standard ones) often overwhelms novices. Documentation is short on examples and tutorials to help you figure out how to use the many tools provided to accomplish various kinds of tasks. Documentation is short on examples and tutorials to help you figure out how to use the many tools provided to accomplish various kinds of tasks. © Prepared By: Razif Razali 16

CONCLUSION The UNIX philosophyThe UNIX philosophy UNIX historyUNIX history UNIX StructureUNIX Structure Advantages of using UNIXAdvantages of using UNIX Disadvantages of using UNIXDisadvantages of using UNIX © Prepared By: Razif Razali 17