LECTURE-7. Introduction to DOS. Introduction to UNIX/LINUX OS. Introduction to Windows. Topics:



Similar documents
Chapter 14 MS-DOS Operating System

Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems

Programming for GCSE Topic H: Operating Systems

Understanding the Boot Process and Command Line Chapter #3

Chapter 3: Operating-System Structures. System Components Operating System Services System Calls System Programs System Structure Virtual Machines

An Introduction to the Linux Command Shell For Beginners

Chapter Contents. Operating System Activities. Operating System Basics. Operating System Activities. Operating System Activities 25/03/2014

A UNIX/Linux in a nutshell

Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002)

Thirty Useful Unix Commands

Tutorial 0A Programming on the command line

DOS Command Reference

Linux command line. An introduction to the Linux command line for genomics. Susan Fairley

Operating System Software

Unit 4 Objectives. System Software. Component 4: Introduction to Information and Computer Science. Unit 4: Application and System Software Lecture 2

LSN 10 Linux Overview

CHAPTER 15: Operating Systems: An Overview

CPS221 Lecture: Operating System Structure; Virtual Machines

Operating System Today s Operating Systems File Basics File Management Application Software

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Eleventh Edition. Copyright 2015 Pearson Education, Inc.

Chapter 8 Operating Systems and Utility Programs

Chapter 8 Objectives. Chapter 8 Operating Systems and Utility Programs. Operating Systems. Operating Systems. Operating Systems.

Operating System Structures

Linux System Administration on Red Hat

CS 103 Lab Linux and Virtual Machines

Outline: Operating Systems

Click to view Web Link, click Chapter 8, Click Web Link from left navigation, then click BIOS below Chapter 8 p. 395 Fig. 8-4.

Unix Sampler. PEOPLE whoami id who

HP-UX Essentials and Shell Programming Course Summary

Review from last time. CS 537 Lecture 3 OS Structure. OS structure. What you should learn from this lecture

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 2 Introducing Operating Systems

Introduction to the UNIX Operating System and Open Windows Desktop Environment

Chapter 4. Operating Systems and File Management

4.1 Introduction 4.2 Explain the purpose of an operating system Describe characteristics of modern operating systems Control Hardware Access

Lecture 6: Operating Systems and Utility Programs

Chapter 15 Windows Operating Systems

Chapter 3. Operating Systems

Operating Systems. Study this screen display and answer these questions.

List of FTP commands for the Microsoft command-line FTP client

Fred Hantelmann LINUX. Start-up Guide. A self-contained introduction. With 57 Figures. Springer

L01 Introduction to the Unix OS

ELEC 377. Operating Systems. Week 1 Class 3

Software: Systems and Application Software

A Computer Glossary. For the New York Farm Viability Institute Computer Training Courses

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

VMware Server 2.0 Essentials. Virtualization Deployment and Management

USEFUL UNIX COMMANDS

DOS COMMAND EXAMPLES. TIME To set your computer's clock to 1:36 P.M., use either of the following commands:

OPERATING SYSTEM SERVICES

Introduction to Mac OS X

Unix Guide. Logo Reproduction. School of Computing & Information Systems. Colours red and black on white backgroun

1/5/2013. Technology in Action

Command-Line Operations : The Shell. Don't fear the command line...

Operating system Dr. Shroouq J.

Example of Standard API

Running your first Linux Program

An Introduction to Using the Command Line Interface (CLI) to Work with Files and Directories

1 Basic commands. 2 Terminology. CS61B, Fall 2009 Simple UNIX Commands P. N. Hilfinger

New Lab Intro to KDE Terminal Konsole

UNIX - FILE SYSTEM BASICS

STUDY GUIDE CHAPTER 4

DOS Command Reference DOS Commands Found in DOS 6.22, Windows 95, and Windows 98

Objectives. Chapter 2: Operating-System Structures. Operating System Services (Cont.) Operating System Services. Operating System Services (Cont.

Unix/Linux Forensics 1

Command Line - Part 1

ICS 351: Today's plan

Sophos Anti-Virus for Linux configuration guide. Product version: 9

Chapter 4. System Software. What You Will Learn... Computers Are Your Future. System Software. What You Will Learn... Starting the Computer

An Introduction to Using the Command Line Interface (CLI) to Work with Files and Directories

Command Line Crash Course For Unix

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Higher National Unit Specification. General information for centres. Multi User Operating Systems. Unit code: DH3A 34

Sophos Anti-Virus for Linux configuration guide. Product version: 9

CS 377: Operating Systems. Outline. A review of what you ve learned, and how it applies to a real operating system. Lecture 25 - Linux Case Study

Back-up Server DOC-OEMSPP-S/2014-BUS-EN-10/12/13

Chapter 5: Fundamental Operating Systems

Unix the Bare Minimum

Operating Systems 4 th Class

Hadoop Shell Commands

Operating System Components and Services

Tutorial Guide to the IS Unix Service

Upon completion of this chapter, you will able to answer the following questions:

Hadoop Shell Commands

Operating System Components

Introduction to Linux and Cluster Basics for the CCR General Computing Cluster

EUCIP - IT Administrator. Module 2 Operating Systems. Version 2.0

Multiprogramming. IT 3123 Hardware and Software Concepts. Program Dispatching. Multiprogramming. Program Dispatching. Program Dispatching

CSE 120 Principles of Operating Systems. Modules, Interfaces, Structure

CHAPTER 17: File Management

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives

Audit Trail Administration

File Manager User Guide

CCNA 2 Chapter 5. Managing Cisco IOS Software

lesson 1 An Overview of the Computer System

How do Users and Processes interact with the Operating System? Services for Processes. OS Structure with Services. Services for the OS Itself

Infiniium Upgrade and Recovery Guide

Password Changer for DOS User Guide

Transcription:

Topics: LECTURE-7 Introduction to DOS. Introduction to UNIX/LINUX OS. Introduction to Windows.

BASIC INTRODUCTION TO DOS OPERATING SYSTEM

DISK OPERATING SYSTEM (DOS) In the 1980s or early 1990s, the operating system that shipped with most PCs was a version of the Disk Operating System (DOS) created by Microsoft: MS- DOS. MS-DOS is a disk operating system for IBM PC compatible computers. In its day, it was easily the most popular operating system in the world.

MS-DOS, PC-DOS OR DOS Developed to run single-user, stand-alone desktop computers. Exemplifies early Operating Systems because it manages jobs sequentially from single user. Advantages: Simple operation & straight-forward user commands. Disadvantages: Lack of flexibility & limited ability to meet needs of programmers & experienced users. Written for a single family of microprocessors (Intel family of chips: 8086, 8088, 80186, and 80286).

THE MAIN FUNCTIONS OF DOS DOS translate the command issued of the user in the format that is understood by the computer to execute it, also error message in the format for the user to understand. Manage disk file. Manage memory efficiently. Allocate system resources according to the requirement. DOS provides features essential to control hardware devices such as Keyboard, Screen, Disk Devices, Printers, Modems and programs.

THE STRUCTURE OF DOS User COMMAND.COM DOS Kernel BIOS Hardware MS-DOS Accommodate single novice user in single-process environment. Standard I/O support includes keyboard, monitor, printer, & secondary storage unit. User commands are based on English words/phrases indicative of action to be performed. Commands are interpreted by command processor. Layering approach protects user from hardware.

FIRST 2 DOS LAYERS : BIOS & KERNEL 1. BIOS (Basic Input/Output System) -- interfaces directly with various I/O devices. Device drivers (control flow of data to/from each device). Receives status each I/O operation & passes it on to the proceinfo about success/failure of ssor. 2. DOS kernel -- routines needed to interface with the disk drives. Read into memory at initialization time from MSDOS.SYS file on boot disk. Accessed by application programs. Provides a collection of hardware-independent services, such as memory management, & file & record management (system functions).

THIRD DOS LAYER : COMMAND PROCESSOR Command processor (shell) -- sends prompts to user, accepts commands, executes commands, & issues appropriate responses. Resides in a file called COMMAND.COM, which consists of 2 parts stored in 2 different sections of main memory. Not interpretive. MS-DOS Version 4.0 -- menu-driven DOS shell. OS/2 -- designed to replace MS-DOS.

USER INTERFACE Command-driven operating system. When user presses Enter key, shell (COMMAND.COM) interprets command & calls on next lower level routine to satisfy request. User commands include some or all of these elements in this order: command source-file destination-file switches

Command Stands for Action to be performed DIR Directory List what s in this directory. CD or CHDIR Change Directory Change working directory. COPY Copy Copy a file. Append one to another. DEL or ERASE Delete Delete the following file or files. RENAME Rename Rename a file. TYPE Type Display text file on screen. PRINT Print Print one or more files on printer. DATE Date Display and/or change system date. TIME Time Display and/or change system time. MD or MKDIR Make Directory Create a new directory or subdirectory. FIND Find Find a string. Search files for a string. FORMAT Format Disk Logically prepare disk for file storage. CHKDSK Check Disk Check disk for disk/file/directory status. PROMPT System Prompt Change system prompt symbol. DEFRAG Defragment Disk Compact fragmented files. (filename) Run, execute, file.

DOS COMMANDS Internal Commands External Commands

INTERNAL DOS COMMANDS Internal Commands are located in memory and do not require and further disk access when they are used. COPY, DEL, DIR, VER, TYPE, PRINT EXTERNAL DOS COMMANDS they reside on the DOS disk and require a disk access to be used CHKDSK, FORMAT, DISKCOPY,MD,CD,RD

FORMAT NEW DISKS MAY BE FORMATTED ALREADYOR NOT USING THE FORMAT COMMAND INITIALIZES; BY WRITING CODE ON IT TO ASSIGN TRACKS AND SECTORS WHERE YOUR DATA WILL BE STORED. FORMAT ERASES AND CHECKS OLD DISKS FOR ERRORS FORMAT A:/S/Q/U DIRECTORY THE DIR COMMAND IS AN INTERNAL DOS COMMAND USED TO LIST CONTENT DIR DIR/W DIR/P

COPY COMMAND THE COPY COMMAND MAKES A SECOND COPY OF A FILE ONTO ANOTHER DESTINATION IF YOU WANT TO COPY SOMETHING FROM ONE DIRECTORY TO A DISK YOU MUST BE IN THAT DIRECTORY COPY DOES NOT ERASE THE ORIGINAL REMOVES DATA DEL OR ERASE WINDOWS 95 IS HELPFUL FOR THIS ONCE ERASED, A FILE CANNOT BE RECOVERD UNLESS USE A SPECIAL UTILITY LIKE NORTON UTILITIES

MKDIR(MD), CHDIR(CD), RMDIR(RD) MD MAKES A DIRECTORY CD CHANGES DIRECTORY RD REMOVES A DIRECTORY

BASIC INTRODUCTION TO UNIX/LINUX OPERATING SYSTEM

AN OVERVIEW OF THE UNIX OS At first, unix was designed to let a number of programmer access the same time and share its resource. The important features that make unix favorite are: Multitasking Multiuser Portability Unix Tools Unix Communication Library of application software

UNIX STRUCTURE Kernel Hardware Application Program

START UP Before the UNIX operating system can perform correctly, there are a number of steps that must be followed The failure of any one of these can mean that the system will not start. It is important for the Systems Administrator to be aware of what happens during system startup so that any problems that occur can be remedied.

BOOTING - CONSISTS OF THE FOLLOWING STEPS ROM Phase Boot Program Phase Kernel initialization Phase Init Phase

UNIX COMMAND A command is a program that tells the Unix system to do something. Usually has the form: command [options] [arguments] Commands are case sensitive. command and Command are not the same. Options and syntax for a command are listed in the man page

Navigation and Directory Control Commands Command/Syntax ls [options] [directory or file] cd [directory] mkdir [options] directory pwd rmdir [options] directory What it will do list directory contents or file permissions change directory make a directory print working (current) directory remove a directory

FILE MAINTENANCE COMMANDS Command/Syntax chgrp [options] group file chmod [options] file cp [options] file1 file2 mv [options] file1 file2 rm[options] file What it will do change the group of the file change file or directory access permissions copy file1 into file2; file2 shouldn't already exist. This command creates or overwrites file2. move file1 into file2 remove (delete) a file or directory (-r recursively deletes the directory and its contents)

MISCELLANEOUS COMMANDS Command/Syntax What it will do cat [options] file concatenate (list) a file more (or less or pg) [options] file page through a text file tail [options] file display the last fewlines (or parts) of a file head [-number] file display the first 10 (or number of) lines of a file which command reports the path to the command or the shell alias in use who or w report who is logged in and what processes are running date [options] report the current date and time grep [options] file search specify pattern in the file tar [options] file or directory pack and zip file

UNIX FILE TYPE Regular file. A common file which contains data in text or binary. Directory file. A file that contains name of other files and point to information on these files. Symbolic link. A type of file that point to another file.

UNIX FILE TYPE Character devices file. A type of file use for certain type of devices(read-write data in one character). Block devices file. A type of file use for certain type of devices(read-write data in block). FIFO. A type of file that use for interprocess communication,some time call named pipe. Socket. A type of file that use for network communication.

File Access Permission Symbol Permission Means r Read Can open and read content of file w x Write Execute Can write to file(modify content) or delete it Can execute the file(if it program or shell script) - Denied Cannot read, write or execute file