CS 390 Unix Programming Summer 2001. Unix Programming - CS 3902 Course Details Online Information Please check.

Slides:



Advertisements
Similar presentations
OPERATING SYSTEM An operating system is a group of computer programs that coordinates all the activities among computer hardware devices. It is the first.
Advertisements

Chapter One The Essence of UNIX.
Lecture 1: History of Operating System
Operating Systems: Software in the Background
Phones OFF Please Operating System Introduction Parminder Singh Kang Home:
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Operating Systems - Introduction S H Srinivasan
Figure 1.1 Interaction between applications and the operating system.
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.
CMPE 151: Network Administration Spring Class Description Focus: system and network administration. Sequence of exercises. E.g., installing/configuring.
UNIX chapter 03 Getting Started Mr. Mohammad Smirat.
Basic Unix Dr Tim Cutts Team Leader Systems Support Group Infrastructure Management Team.
Systems Software Operating Systems.
Objectives  Understand the purpose of the superuser account  Outline the key features of the Linux desktops  Navigate through the menus  Getting help.
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.
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
COMP1070/2002/lec3/H.Melikian COMP1070 Lecture #3 v Operating Systems v Describe briefly operating systems service v To describe character and graphical.
Chapter 4 System Software.
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
CS240 Computer Science II Introduction to Unix Based on “UNIX for Programmers and Users” by G.Class and K. Ables.
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
Operating Systems.
LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
Standard Grade Computing System Software & Operating Systems.
WEEK 1 COURSE INTRODUCTION INTRODUCTION TO OPERATING SYSTEMS OPERATING SYSTEM STRUCTURES Operating Systems CS3013 / CS502.
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 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.
CT 1503 Network Operating Systems Instructor: Dr. Najla Al-Nabhan 2014.
Agenda Getting Started: Using Unix Unix Structure / Features Elements of the Unix Philosophy Unix Command Structure Command Line Editing Online Unix Command.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
10/8: Software What is software? –Types of software System software: Operating systems Applications Creating software –Evolution of software development.
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.
Operating System Principles And Multitasking
COMPUTER FUNDAMENTALS David Samuel Bhatti
Unix – Linux CS3353 Ssystem Administration. OS The Operating System – Acts as the interface to all software, hardware, and users of a computer. – Requires.
UNIX Unit 1- Architecture of Unix - By Pratima.
1 Software. 2 What is software ► Software is the term that we use for all the programs and data on a computer system. ► Two types of software ► Program.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
 2001 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet and the World Wide Web Outline 1.1Introduction 1.2What.
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.
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.
Lecture 1: Network Operating Systems (NOS) An Introduction.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
BIF713 Introduction to Linux. Agenda Getting Started: Using Linux Unix and Linux - Structure / Features Elements of the Linux Philosophy Linux Command.
What is O.S Introduction to an Operating System OS Done by: Hani Al-Mohair.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
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.
Operating System Structure Lecture: - Operating System Concepts Lecturer: - Pooja Sharma Computer Science Department, Punjabi University, Patiala.
 2001 Prentice Hall, Inc. All rights reserved.
IT244 - Introduction to Linux / Unix Instructor: Bo Sheng
Welcome to Linux Chap#1 Hanin Abdulrahman.
System Programming and administration
Shell & Kernel Concepts in Operating System
Chapter 2: The Linux System Part 1
Linux Professor Sabol.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Presentation transcript:

CS 390 Unix Programming Summer 2001

Unix Programming - CS 3902 Course Details Online Information Please check the site frequently to get update information. The site will be the primary mechanism of communication: Announcements, Class Notes, Projects, Labs etc.

Unix Programming - CS 3903 Course Pre-requisites Must have taken MCS171, MCS172 and MCS260 Background of C++ is required. Please do brush up on the fundamentals and the Object- Oriented concepts.

Unix Programming - CS 3904 Course Details contd… Objective To effectively use the Unix operating system Building software under Unix operating system Understanding of Shell Scripting Learn pattern matching and regular expressions To develop a client-server application using Java on the Unix Operating System Text Book O’Reilly: Unix in a Nutshell: A Desktop Quick Reference David Flanagan: Java in a Nutshell : A Desktop Quick Reference (Java Series), 1999

Unix Programming - CS 3905 Course Details contd… Unix fundamentals Writing, building and debugging code Pattern Matching and Regular Expressions Shell Scripting Java and Socket programming Memory Management and Process scheduling Distributed Computing Fundamentals

Unix Programming - CS 3906 Course Details contd… Grading Policy Labs & Assignments – 30 % Mid- Term – 30 % Term Project – 35 % Quizzes– 5 % Letter Grades %A 80 – 89 %B 70 – 79 %C 60 – 69 %D Less than 60% F Late submissions will result in NO Grade. There will be NO MAKE-UP Quizzes

Unix Programming - CS 3907 Lecture 1 topics Introduction Unix Fundamentals Operating System and Process Unix - An operating system Features Structure File System

Unix Programming - CS 3908 Introduction Computer hardware requires software to perform useful operations Types of Software: System Software: manages the operation of a computer itself Application Software: helps user in specific tasks A System Software that controls and manages the operations of a computer is called an “Operating System” An Operating system also manages the resources of the computer, ex. Printer, memory, display Note that OS will now on be used in place of Operating System UNIX is an OS

Unix Programming - CS 3909 Operating System Operating System is the most fundamental of all system programs OS controls ALL of the computer resources OS provides VALUABLE services to user programs OS COORDINATES the execution of user programs OS PROVIDES resources to user programs The notion of Process is very important when we talk about OS

Unix Programming - CS Process What is a process? A program in execution OS controls the execution of a process A process can be initiated by an user or the OS User initiated process is called as “User Process” System initiated process is called as “System Process” or “Kernel Process”

Unix Programming - CS Why UNIX? During past 25 years UNIX OS has evolved into a powerful, flexible and versatile OS. It works on Multi-Platform PC’s, Micro-computers etc. Open Source code standards Ability to adapt the UNIX system in different ways Linux has been developed using these standards

Unix Programming - CS Unix Features Unix as an operating system has following features: Multitasking Support Multi-user environment Portability Provides Tools Communication and Networking Manages Application Software

Unix Programming - CS Multitasking capability Ability to perform more than one task Increases the efficiency of the processor Speeds up work E.g. when you are printing a file, while it is printing, you start editing another document

Unix Programming - CS Multi- user support Supports multiple users to work at the same time Saves time by enabling multiple users to work on same set of information simultaneously Maintains data consistency. Why? Increases productivity

Unix Programming - CS Portability Easy to modify Unix system code for transporting from one system to another Source code is freely available on the Internet Saves time and money Programs written in one Unix system can be run on any other system supporting Unix

Unix Programming - CS Unix system–supplied tools Tools help in performing variety of specific jobs Unix provides flexibility to add tools provided by various vendors E.g. editors, compilers, calendar, mail system etc…

Unix Programming - CS Communication and Networking Offers programs and utilities that provide services needed to build networked application Communication helps in information sharing and processing across a network Internet services use Unix as a Web Server

Unix Programming - CS Other Features Open source code is adopted as a methodology for developing Unix e.g Linux Unix is available FREE on the Internet A standard for distributed computing Special topic presentation Lots of Unix flavors: Minix, Linux, Sun O/S, Sun Solaris, HP/ UX etc…

Unix Programming - CS Unix Environment User Application and Tools Shell Kernel H/ W H/W - Hardware UNIX OS

Unix Programming - CS A User Types of users Administrator : administers the system General : uses the system Can have different privileges A user has a login name and password to log into the system Considered as an external entity to the system Unix Supports multiple execution modes: Kernel / Superuser Mode User Mode

Unix Programming - CS Execution Modes Operating System runs in the Kernel mode and user programs run in user mode Kernel mode Full access to system resources Direct access to hardware, memory and device drivers User mode Access is limited No direct access to hardware, memory and I/O devices Typically consists of only computational instructions

Unix Programming - CS Tools and Applications Application programs carry out different types of tasks Types of Application programs Horizontal Application: Used in various fields like government, industry and education. E.g. Word Processor Vertical Application: Industry- specific. E.g. Banking Software

Unix Programming - CS Tools and Applications contd… Utilities that are executed as commands Performs specific tasks Generally supplied with the operating system. E.g. text editing, processing etc.

Unix Programming - CS Shell Interface between the user and kernel Enables user to execute commands / programs Besides being a command interpreter, the shell is also a programming language Types of Shells: C Shell (CSH) Bourne Shell (bash) Korn Shell (KSH) etc. Supplied by various vendors

Unix Programming - CS Kernel Interface between the Shell and the Hardware Interacts directly with hardware of computer through device drivers, system calls Insulates user level processes from the hardware complexity Functions of Kernel include: Managing memory Maintain file system Control access to the system Handle errors Performs input/ output services Kernel can be considered as the heart of O/S

Unix Programming - CS Unix File System Hierarchical file system Inverted tree structure root /etc/bin/usr/dev/lib/tmp/home

Unix Programming - CS Additional Reading Assgn. Read on Unix Background and history Check to see if your accounts on the dunx1.irt.drexel.edu and queen.mcs.drexel.edu are activated The course website will be ready by next week