CS 497C – Introduction to UNIX Lecture 3: Inside UNIX Chin-Chih Chang

Slides:



Advertisements
Similar presentations
Operating-System Structures
Advertisements

COMPUTERS: TOOLS FOR AN INFORMATION AGE Chapter 3 Operating Systems.
CS 497C – Introduction to UNIX Lecture 11: - The File System Chin-Chih Chang
Operating Systems: Software in the Background
Working Environment - - Linux - -.
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Guide To UNIX Using Linux Third Edition
CS 497C – Introduction to UNIX Lecture 1: Getting Started Chin-Chih Chang
Introduction to Linux Chapter 1. Operating Systems Operating System (OS) - most basic and important software on a computer Performs core tasks Organize.
Linux Introduction. Overview What is Unix/Linux? History of Linux Features Supported Under Linux The future of Linux.
Linux Operating system
AN INTRODUCTION TO LINUX OPERATING SYSTEM Zihui Han.
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.
Linux Basics. What is an Operating System (OS)? An Operating System (OS) is an interface between hardware and user which is responsible for the management.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
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.
MODULE 4. “Hello everbody out there using minix – I am doing a (free) operating system just a hobby, won’t be big and professional like gnu) for 386(486)
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1)
4 1 Operating System Activities  An operating system is a type of system software that acts as the master controller for all activities that take place.
Linux Last Update Copyright Kenneth M. Chipps Ph.D. 1.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
Module 4 INTRODUCTION TO LINUX OPERATING SYSTEMS.
COSC513 Project Linux Features Instructor: Prof. Mort Anvari Student: Yingfeng Luo ID: #
A Comparison of Linux vs. Windows Bhargav A. Sorathiya B.E. 4 th C.E. Roll no:6456.
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.
Operating System - Linux Ph. D. Course Work : PHYS 601 Statistics and Computer Applications Presented By: Sanjay Godara Dept. of Physics & Astrophysics.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Guide to Linux Installation and Administration, 2e1 Chapter 7 The Role of the System Administrator.
CS 390 Unix Programming Environment Summer Suchindra Rengan - CS3902 Course Details Instructors Suchindra Rengan – ‘sachin’ ( Section 001)
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Computers & Operating Systems
Just Enough Unix, Chapter 1
A Level Computing for AQA Teacher’s Resource CD-ROM 42 CHAPTER: Operating systems Nick Sims Basic functions Classifying 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.
CSNB334 Advanced Operating Systems 1. Introduction to Linux Lecturer: Abdul Rahim Ahmad.
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.
CSC414 “Introduction to UNIX/ Linux” Lecture 2. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
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.
Linux History C151 Multi-User Operating Systems. Open Source Programming Open source programming: 1983, Richard Stallman started the GNU Project (GNU.
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 Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop I Introduction to Linux Professional Training Academy.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 1.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 8 Linux.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
Computer Operating Systems And Software applications.
1 Week 8 Creating Simple Shell Scripts. 2 Chapter Objectives  In this chapter, you will :  Learn how to create Shell Scripts  Commenting / Making Portable.
A Brief Introduction to Linux Cheng-Han Du. History.
A Brief Introduction to Linux Cheng-Han Du. History.
Introduction to unix. The UNIX Operating System An operating system "OS” is a set of programs that controls a computer. It controls both the hardware.
CHAP-1 INTRODUCTION TO LINUX 1 Created By: Asst. Prof. Ashish Shah, J.M.Patel College of Commerce.
Feeling Linux yourself Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
Linux Essentials Chapter 1: Selecting an Operating System.
Chapter 8 Unix & Linux.
Guide to Linux Installation and Administration, 2e
Welcome to Linux Chap#1 Hanin Abdulrahman.
Chapter 2: The Linux System Part 1
Linux and TCP/IP Networking
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Consult America Technology Consulting Services
Presentation transcript:

CS 497C – Introduction to UNIX Lecture 3: Inside UNIX Chin-Chih Chang

Linux and GNU Although UNIX finally turned commercial, Richard Stallman and Linus Torvalds had different ideas. Torvalds is the father of Linux, the free UNIX that has swept the computer world. Stallman runs the Free Software Foundation (formerly known as GNU – a recursive acronym that stands for “GNU’s NOT Unix”)

Linux and GNU Linux is distributed under the GNU General Public License which makes it mandatory for developers and sellers to make the source code public. Linux flavors: Red Hat, SuSE, Caldera, TurboLinux, Mandrake, Debian. These distribution include a plethora of software.

Inside UNIX The kernel and the shell are the masters of UNIX. The shell interacts with the user and the kernel with the machine’s hardware. The kernel is the center of the operating system – a collection of programs mostly written in C. The kernel is loaded into memory when the system is booted.

The Kernel The kernel manages the system resources, allocates time between users and processes, decides process priorities and performs other tasks. Other programs access the services of the kernel through a set of functions called system calls.

The Shell The shell takes a command from the user, deciphers the special characters, and finally communicates with the kernel. The shell is an interface between the user and the kernel.

Inside UNIX UNIX is a multiuser system. In UNIX, a single user can also run multiple tasks concurrently. UNIX tools singly aren’t all that powerful. Using a supported interprocess communication feature, the shell can arrange for a command to pass on data to another command. UNIX doesn’t really care to know the type of file.

Inside UNIX UNIX supports a pattern matching feature. Apart from files, a special group of commands use a generalized pattern (called a regular expression). The UNIX shell is also a programming language. The language features of the UNIX shell are used to design shell scripts. A shell script is a program including UNIX commands.

Inside UNIX UNIX is written in C. Commands use system calls to invoke the kernel. man – on-line help.

man Problem in CS Computers man may not work on all accounts because of an incorrect MANPATH environment variable. If man does not work for you, please edit your.cshrc.linux and.login.linux files and remove any line having to do with MANPATH. pico - simple text editor in the style of Pine Composer pine – a program for Internet News and .

General Features of a Command A UNIX command consists of a single word generally using alphabetic characters. Commands are essentially files representing programs – mainly written in C. These files are stored in certain folders known as directories. For instance, the ls command is also a program located in the directory /bin.

General Features of a Command A UNIX command file doesn’t need to have a special extension like.exe and.com. There’s hardly a practical restriction on length either; a command can be up to 255 characters long – a limit set for any file of the file system. UNIX is sensitive to case. $ LS LS: Command not found.

Coming Next Understanding the UNIX Command Review Chapter 1. Do Self-Test of Chapter 1. Homework 1