Chapter 9 Extra Topics. The Kernel Core of the operating system Similar to UNIX kernel Originally developed and still controlled by Linus Torvalds uname.

Slides:



Advertisements
Similar presentations
Drivers and the kernel1-1 Drivers and the kernel UNIX system has three layers: m The hardware m The operating system kernel m The user-level programs Kernel.
Advertisements

Operating System Structures
Lesson 6 Software and Hardware Interaction
MCITP Guide to Microsoft Windows Server 2008, Server Administration (Exam #70-646) Chapter 2 Installing Windows Server 2008.
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Fall 2006.
Versioning Extensions for Linux CS736 Spring 1999 J. Adam Butts Paramjit Oberoi.
1 Chapter 11: File-System Interface  File Concept  Access Methods  Directory Structure  File System Mounting  File Sharing  Protection  Chapter.
2000 Copyrights, Danielle S. Lahmani UNIX Tools G , Fall 2000 Danielle S. Lahmani Lecture 12.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
1 DOS with Windows 3.1 and 3.11 Operating Environments n Designed to allow applications to have a graphical interface DOS runs in the background as the.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
AN INTRODUCTION TO LINUX OPERATING SYSTEM Zihui Han.
Operating System.
Lesson 4 Computer Software
Operating Systems Basic PC Maintenance, Upgrade and Repair Mods 1 & 2.
Group 6 Comp 129 Chapter 4.  An operating system s a set of programs made to manage the resources of a computer.  The OS performs five basic functions:
Your Interactive Guide to the Digital World Discovering Computers 2012.
By Umesh ks. Dos is a single user operating system. Its support the all operating system wizards Support the disk scheduling. File management Network.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Hands-On Microsoft Windows Server 2008
BUSINESS COMPUTER APPLICATION University of Palestine College of Business Instructor: Mr. Ahmed Abumosameh.
1 AQA ICT AS Level © Nelson Thornes 2008 Operating Systems What are they and why do we need them?
University of Management & Technology 1 Operating Systems & Utility Programs.
CHAPTER FOUR COMPUTER SOFTWARE.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Your Interactive Guide to the Digital World Discovering Computers 2012.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview Part 2: History (continued)
Linux Introduction What is Linux? How do you use it?
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.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
Capabilities of Software. Object Linking & Embedding (OLE) OLE allows information to be shared between different programs For example, a spreadsheet created.
Kuliah 4 Pengantar Teknologi Informasi Oleh Coky Fauzi Alfi cokyfauzialfi.wordpress.com Software.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux June 2011 Kaplan University 1.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux September 2012 Kaplan University 1.
Computer Literacy for IC 3 Unit 1: Computing Fundamentals © 2010 Pearson Education, Inc. | Publishing as Prentice Hall.1 Chapter 4: Identifying Software.
UNIX Unit 1- Architecture of Unix - By Pratima.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
CSC190 Introduction to Computing Operating Systems and Utility Programs.
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.
Chapter 3: Software Explain the difference between systems software and application software
Your Interactive Guide to the Digital World Discovering Computers 2012.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
Lesson 6-Using Utilities to Accomplish Complex Tasks.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
Computer Operating Systems And Software applications.
1 © 2004 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Cisco Technical Support Seminar Using the Cisco Technical Support Website.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of 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.
Systems Software / The Operating System CSC October 14, 2010.
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 2 Introducing Operating Systems.
Rebuilding Linux Kernel Dedicated to penguin lovers everywhere 26 September 20161Rebuilding kernel by Visakh M R.
Computers: Tools for an Information Age
IT320 Operating System Concepts
Chapter Objectives In this chapter, you will learn:
Discovering Computers 2012: Chapter 8
Operating System Review
LINUX WINDOWS Vs..
Drivers and the kernel UNIX system has three layers: Kernel
Operating Systems What are they and why do we need them?
LINUX WINDOWS Vs..
Operating System Review
Shell & Kernel Concepts in Operating System
Chapter 2: The Linux System Part 1
IS3440 Linux Security Unit 7 Securing the Linux Kernel
Operating System Review
Operating Systems Tasks 17/02/2019.
Outline Chapter 2 (cont) OS Design OS structure
Presentation transcript:

Chapter 9 Extra Topics

The Kernel Core of the operating system Similar to UNIX kernel Originally developed and still controlled by Linus Torvalds uname -r Current latest version: 2.6.x Version names follow the convention: major.minor.patchlevel minor even : stable odd : development

What’s a Kernel Can be seen as an executive, system monitor Controls and provides access to the hardware Implements and supports processes, files, devices, etc. Schedules system resources Memory, Processor time, disk space, peripherals Enforce security, protection Respond to user commands

Kernel Design Goals Performance Utilize resources with low overhead Extensibility Capability features, compatibility Security Portability Stability

Kernel Overview

Building the Kernel For keeping up with new kernel releases Remove device drivers not needed: better performance Obtain sources From Internet from ftp://ftp.kernel.org main release usually a tar-zipped file patches released as seperate files maybe installed already: /usr/src/linux apt-get

Patching Patches are available to the last release fix bugs, holes provide new features Can be applied using the patch command download the patch file to /usr/src/linux extract patch -pl < patch-2.2.x

Building the Kernel: Steps Look in Documentation/Changes for the list of requirements README for detailed information for building run make config or make xconfig make oldconfig if already built the kernel earlier run make dep to build dependencies run make clean to clean up build the kernel: make bzimage copy the bzimage and System.map to /boot

diff - comparing files Utility to compare files Gives instructions on how to make them similar a: add c : change d : delete diff file1 file2 changes in file1 to make it like file2 l1al2, l3 : append lines l2 to l3 from file2 after line1 in file1 l1,l2cl3,l4 : change lines l1 to l2 in file1 to l3 to l4 in file2 l1,l2dl3 : delete lines l1 to l2 in file1

uniq : Deleting repeated lines Deleting repeated lines in a file uniq sample output the lines in sample without repitition uniq sample out output the non-repeated lines in sample to out uniq -c sample give counts of repetitions uniq -d sample give the lines that are repeated in sample uniq -d sample out save the repeated lines in sample to out

find : advanced file searching searches for files with specified criteria in specified directories find ~ -name *.doc -print search for all.doc files in my home directory -print option to print the results enclose complex search criteria in \( \) -o for OR find ~ \( -name *.doc -o -name *.ppt \) -print search for all.doc and.ppt files in my home directory

whereis and which whereis : locate the directories where a command is useful when shell cannot find the command command may not be in PATH which : similar to whereis prints location of the command helpful when more than two commands with same name exist