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.

Slides:



Advertisements
Similar presentations
ITR3 lecture 7: more introduction to UNIX Thomas Krichel
Advertisements

Chapter One The Essence of UNIX.
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Operating Systems - Introduction S H Srinivasan
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.
Operating Systems.
Basic Unix Dr Tim Cutts Team Leader Systems Support Group Infrastructure Management Team.
The Origin of the VM/370 Time-sharing system Presented by Niranjan Soundararajan.
1 Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET201.
Linux Operating system
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.
1 The Shell and some useful administrative Unix Commands How Unix works along with some additional, useful administrative Unix commands you might need.
Lesson 4 Computer Software
Welcome to CSE  Name: Di Cao   Classroom: DL357  Class Time: T 8:30am - 9:18am  Office.
Introduction A computer system consists of hardware system programs application programs.
LINUX/UNIX WORKSTATIONS Franklin Montenegro Carlos Sierra.
UNIX Unbounded 5th Edition Amir Afzal Chapter 3 Getting Started
CS240 Computer Science II Introduction to Unix Based on “UNIX for Programmers and Users” by G.Class and K. Ables.
LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
Module 1 Introduction to UNIX/Linux
An Introduction to UNIX System --- Cosc513 Presentation n Instructor: Morteza Anvari n Author: Yonghong Pan n ID#: n Date: Jan.29, 2001.
CENT 305 Information Systems Security Linux Introduction.
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.
UNIX and Shell Programming (06CS36) Unit 1 Continued… Shrinivas R. Mangalwede Department of Computer Science and Engineering K.L.S. Gogte Institute of.
Unix Background. Introducing Unix Brief Unix History u In 1969, Ken Thompson at AT&T Bell Labs began developing Unix. –First done in assembly language.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
CS 390 Unix Programming Environment Summer Suchindra Rengan - CS3902 Course Details Instructors Suchindra Rengan – ‘sachin’ ( Section 001)
CE Operating Systems Lecture 3 Overview of OS functions and structure.
© Prepared By: Razif Razali 1 TMK 265: UNIX SYSTEM CHAPTER ONE – UNIX PHILOSOPHY.
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.
UNICOS. When it comes to solving real-world problems, leading-edge hardware is only part of the solution. A complete solution also requires a powerful.
Unix – Linux CS3353 Ssystem Administration. OS The Operating System – Acts as the interface to all software, hardware, and users of a computer. – Requires.
Introduction to UNIX. 2 History of Unix  1960 Software based on Hardware Limits  1969 Ken Thompson Develop a Better Programming Environment  1971 New.
© 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.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
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.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 1.
2.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition System Programs (p73) System programs provide a convenient environment.
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.
Computer System Structures
A LECTURE NOTE.
Introduction to UNIX.
Unix Scripting Session 1 March 6, 2008.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Popular Operating System Chapter 8
Unix Shells.
Chapter 2: System Structures
Case Study : Linux In the previous chapters, we examined many operating system principles, abstractions, algorithms, and techniques in general. Now it.
Operating Systems Georgios Varsamopoulos
Introduction to Operating System (OS)
An Introduction to UNIX System --- Cosc513 Presentation
Unix : Introduction and Commands
Chapter 2: The Linux System Part 1
Copyright ©2008 by Pearson Education, Inc
Chapter 2: Operating-System Structures
Linux Professor Sabol.
Case Study : Linux In the previous chapters, we examined many operating system principles, abstractions, algorithms, and techniques in general. Now it.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Case Study : Linux In the previous chapters, we examined many operating system principles, abstractions, algorithms, and techniques in general. Now it.
Welcome to Linux Chap#1.
Chapter 2: Operating-System Structures
Presentation transcript:

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 other parts of a computer system, both the hardware and the software. – It allocates the computer's resources and schedules tasks. – It allows you to make use of the facilities provided by the system. Every computer requires an operating system.

What is Unix UNIX is a multi-user, multi-tasking operating system. – Multiple users may have multiple tasks running simultaneously. – This is (WAS) very different than PC operating systems.

What is Unix UNIX is a machine independent operating system. – Not specific to just one type of computer hardware. – Designed from the beginning to be independent of the computer hardware.

What is Unix UNIX is a software development environment.

History of UNIX 1969: Developed at AT&T Bell Labs, New Jersey. Created in an environment when most computer jobs were fed into a batch system. – Developed by researchers who needed a set of computing tools to help them with their projects and their collaborators. – Allowed a group of people working together on a project to share selected data and programs.

History of UNIX 1975: AT&T makes UNIX widely available – – offered to educational institutions at minimal cost. – Becomes popular with university computer science programs. AT&T distributes standard versions in source form: Version 6 (1975), Version 7 (1978), System III (1981).

History of UNIX 1984 to date: University of California, Berkeley adds major enhancements, creates Berkeley Standard Distribution (BSD) 1984 to date: Many Berkeley features incorporated into new AT&T version: System V UNIX has become the operating system of choice for engineering and scientific workstations.

History of UNIX Two variations maintain popularity today, AT&T System V based and the Berkeley Standard Distribution. Current versions (1/95)are System V release 4.2.and 4.4 BSD

UNIX Philosophy Make each program do one thing well. Reusable software tools: 1 tool = 1 function Expect the output of every program to become the input of another, yet unknown, program to combine simple tools to perform complex tasks Prototyping: get something small working as soon as possible and modify it incrementally until it is finished Use terse (simple, clipped) commands and messages: reduces typing and screen output

Why UNIX? Hardware independence – operating system code is written in C language rather than a specific assembly language – operating system software can be easily moved from one hardware system to another UNIX applications can be easily moved to other UNIX machines. Porting is usually as simple as transfer of the source and a recompile

Why UNIX? Productive environment for software development – rich set of tools – versatile (flexible, adaptable, multipurpose) command language UNIX is available at virtually all HPC centers, allowing researchers relative ease in utilizing the facilities at each center. Distributed processing and multi-tasking

UNIX Components Kernel Kernel – The core of the UNIX system. Loaded at system start up (boot). – Manages the entire resources of the system. – Example functions performed by the kernel are:

UNIX Components Kernel functions managing the machine's memory and allocating it to each process. scheduling the work done by the CPU so that the work of each user is carried out as efficiently as is possible. accomplishing the transfer of data from one part of the machine to another interpreting and executing instructions from the shell enforcing file access permissions

UNIX Components Kernel You do not need to know anything about the kernel in order to use a UNIX system. These details are provided for your information only.

UNIX Components Shell Shell – (Generally speaking, and before..) Whenever you login to a Unix system you are placed in a shell program. The shell's prompt is usually visible at the cursor's position on your screen. To get your work done, you enter commands at this prompt.

UNIX Components Shell – The shell is a command interpreter; it takes each command and passes it to the operating system kernel to be acted upon. It then displays the results of this operation on your screen. – Several shells are usually available on any UNIX system, each with its own strengths and weaknesses.

UNIX Components Shell – Different users may use different shells. Initially, your system administrator will supply a default shell, which can be overridden or changed. The most commonly available shells are: Bourne shell (sh) C shell (csh) Korn shell (ksh) TC Shell (tcsh) Bourne Again Shell (bash)

UNIX Components Shell – Each shell also includes its own programming language. Command files, called "shell scripts" are used to accomplish a series of tasks.

UNIX Components Utilities Utilities – UNIX provides several hundred utility programs, often referred to as commands. – Accomplish universal functions editing file maintenance printing sorting programming support online info etc. – Modular: single functions can be grouped to perform more complex tasks

System V vs. BSD AT&T distributes System V for their computers. System V is also the basis for several commercial implementations including: – Hewlett-Packard HP-UX – Apple AUX – Amdahl UTS – Cray UNICOS IBM AIX.

System V vs. BSD BSD, from the University of California Berkeley, has undergone extensive modification and enhancement in the university environment. BSD is available directly from UCB and in a number of commercial versions including: Sun, Apollo, DEC Ultrix, Gould UTX/32.

System V vs. BSD System V and BSD contain a large set of commands in common. Some of these commands, however, support different options and have different default behaviors and output formats. ex: ls, stty, mail, grep Each version also has its own unique utilities. Some very common tasks, such as browsing a file, are performed by totally different utilities: System V uses "pg" whereas BSD uses "more".