Department of Computer Science.  Operating System is a set of software that controls and manages hardware and basic system operation of a computer. 

Slides:



Advertisements
Similar presentations
Understanding the Boot Process and Command Line
Advertisements

2 © 2004, Cisco Systems, Inc. All rights reserved. IT Essentials I v. 3 Module 4 Operating System Fundamentals.
Drives, Directories and Files. A computer file is a block of arbitrary information, or resource for storing information. Computer files can be considered.
A+ Guide to Software, 4e Chapter 6 Windows 9x/Me Commands and Startup Disk.
Chapter 3 Understanding the Boot Process and Command Line.
Professor Michael J. Losacco CIS 1110 – Using Computers Operating Systems & Utility Programs Chapter 7.
© 2007 The McGraw-Hill Companies, Inc. All rights reserved Working with the Command- Line Interface Chapter 14.
A+ Guide to Software, 4e Chapter 4 Supporting Windows 2000/XP Users and Their Data.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
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.
Working in DOS DOS is a true operating system
FILES  A file is a collection of related information  Files are kept in directories on a disk.
A+ Guide to Software, 4e Chapter 11 Supporting Printers and Scanners.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
© 2010 The McGraw-Hill Companies, Inc. All rights reserved Mike Meyers’ CompTIA A+ ® Guide to Managing and Troubleshooting PCs Third Edition Working with.
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
Living in a Digital World Discovering Computers 2010.
Chapter 4: Operating Systems and File Management 1 Operating Systems and File Management Chapter 4.
Chapter 7 Installing and Using Windows XP Professional.
Ch 11 Managing System Reliability and Availability 1.
Lesson 4 Computer Software
A COMPUTER is an electronic device. Every computer performs 4 general operations: 1. Input 2. Process 3. Output 4. Storage.
Computer Concepts 2013 Chapter 4 Operating Systems and File Management.
Chapter Three OPERATING SYSTEMS.
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 Review. 5 Purposes of an Operating System Provide User Interface Communicate with Hardware Create and Manage a File System Network Support.
Lesson 6 Operating Systems and Software
DOS Understanding what you can do. Operating System Traits An OS only works with one type of processor –X86 processors for us; Motorola for Mac –Must.
INTRODUCTION TO OPERATING SYSTEMS. An operating system is a program that controls the overall activity of a computer. Like an orchestra conductor an operating.
Tutorial 11 Installing, Updating, and Configuring Software
Understanding the Boot Process and Command Line
ITE 1 Chapter 5. Chapter 5 is a Large Chapter It has a great deal of useful information about operating systems. You will find this VERY helpful when.
Chapter Fourteen Windows XP Professional Fault Tolerance.
Gene Perkins, Lassen High School Networking Academy
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
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:
University of Management & Technology 1 Operating Systems & Utility Programs.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Software.
Operating Systems TexPREP Summer Camp Computer Science.
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
1.  Microsoft DOS (Disk Operating System) use a command line user interface.command line  A command line user interface means that the user is required.
OPERATING SYSTEM - program that is loaded into the computer and coordinates all the activities among computer hardware devices. -controls the hardware.
Lesson No: 6 Introduction to Windows XP CHBT-01 Basic Micro process & Computer Operation.
®® Microsoft Windows 7 for Power Users Tutorial 1 Exploring the Windows 7 Operating System.
Operating Systems Written by: Tim Keyser Georgia CTAE Resource Network 2010.
File and Folder CLI Commands 12/24/ Agenda Overview of OS functions and the SHELL Internal v External Commands Command History Making & Modifying.
CSC190 Introduction to Computing Operating Systems and Utility Programs.
ERICSON BRANDON M. BASCUG Alternate - REGIONAL NETWORK ADMINISTRATOR HOW TO TROUBLESHOOT TCP/IP CONNECTIVITY.
Digital Communication Systems Comp Functions of the Operating System.
The Command Line Yep, you need to know this. The Basics Start with the Prompt, what the computer tells you when ready for a command You type a command.
Chapter 2 – Part 1 Introduction To Windows Operating Systems CMPF 112 : COMPUTING SKILLS.
IT Essentials 1 v3 Module 4 JEOPARDY IT Essentials 1 RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
By the end of this lesson you will be able to explain: 1. Identify the support categories for reported computer problems 2. Use Remote Assistance to connect.
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
Copyright © 2003 by Prentice Hall 1 Computers: Tools for an Information Age Chapter 3 Operating Systems: Software in the Background BSM025 Computers.
Lecture-7 Introduction to DOS. Introduction to UNIX/LINUX OS.
Operating System Review
TexPREP Summer Camp Computer Science
Operating Systems Review
Operating System Review
Chapter 11 Supporting Printers and Scanners
Operating Systems Tasks 17/02/2019.
Modern PC operating systems
Command prompt OS Command Prompt (cmd.exe), the command-line interpreter on Windows operating systems + R Open the Run dialog box. Peymer Anatoly.
1.3 Given a scenario, apply appropriate Microsoft command line tools
1.3 Given a scenario, apply appropriate Microsoft command line tools
Windows Operating System
Basic Tips and Tricks For an Entry Level Desktop Support Technician
Presentation transcript:

Department of Computer Science

 Operating System is a set of software that controls and manages hardware and basic system operation of a computer.  The operating system loads programs into the computer’s memory, runs these programs, and manages peripherals like disk and printers.

 Example : Disk operating system (DOS), Windows, Linux, Mac, Unix

 MS-DOS Means Microsoft Disk Operating System  MS-DOS is a disk-based, single user, single task and character based user interface operating system. The role of DOS is to interpret commands that the user enters via the keyboard. These commands allow the following tasks to be executed: file and folder management disk upgrades hardware configuration memory optimization program execution

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

Evolution of MS-DOS

ACCESSING MS-DOS FROM WINDOWS The command line interface (CLI) can be accessed in two ways from Windows 7 operating system. Start >> Programs >> Accessories >> click Command Prompt to access the CLI Start >> Type cmd in the Search box, click cmd to access the CLI

DOS COMMANDS : DIR The DIR command is used to list all files and directories in the current directory E.g C:\Users\Mrhope > DIR will give the output below

DOS COMMANDS : CD The CD command is used to navigate into another directory. Example 1. C:\Users\Mrhope > CD Desktop Example 2. C:\Users\Mrhope > CD\ Example 3. C:\Users\Mrhope > CD..  In Example 1, the current directory will be changed to Desktop. Note that Desktop exist in the current directory  In example 2, the current directory will be changed to the root of the drive. i.e C:\  In example 3, it takes the current directory one directory back i.e C:\Users >

DOS COMMANDS : MKDIR or DM The MKDIR command is used to create a new directory. Example 1. C:\Users\Mrhope > MKDIR Test Example 2. C:\Users\Mrhope > MD C:\Test  The Above command in example 1 will create a new directory called “Test” in the current directory (Mrhope)  In example 2, new directory named Test is created in C:\ directory

DOS COMMANDS : FORMAT The FORMAT command is used to erase all data on a drive. Example 1. C:\Users\Mrhope > FORMAT a: Example 2. C:\Users\Mrhope > FORMAT a: /q  The Above commands in example 1 and 2 will both erase data from drive A.  In example 2, a quick erase will be performed due to the /q option provided in the command

DOS COMMANDS : COPY The COPY command is used to copy one or more files to alternate location. Example 1. COPY *.* a: Example 2. COPY file1.txt C:\test  In example 1, all files in the current directory is copied to drive a  In example 2, file1.txt is copied to test directory in drive C

DOS COMMANDS : LABEL The LABEL command is used to view or change the label of the computer disk drives Example 1. LABEL a: mydisk The above command will change label on drive A to mydisk

DOS COMMANDS : DEL The DEL command is used to delete files from the computer. Example. DELETE test.tmp The above command will delete test.tmp file from the computer NOTE : Files Deleted from MS-DOS go to the recycle bin.

DOS COMMANDS : RMDIR The RMDIR command is used to delete a directory from the computer. Example. RMDIR test The above command will delete test directory in the currect directory from the computer

ADVANCE COMMANDS : DRIVERQUERY Drivers remain among the most important software installed on a PC. Improperly configured or missing drivers can cause all sorts of trouble, so its good to have access to a list of what’s on your PC. That’s exactly what the “driverquery” command does. You can extend it to “driverquery -v” to obtain more information including the directory in which the driver is installed. Example 1. C:\ > driverquery Example 2. C:\ > driverquery –v The out put for the commands are shown in the next slide

ADVANCE COMMANDS : DRIVERQUERY Example 1 Output Example 2 Output

ADVANCE COMMANDS : CHKDSK Chkdsk is a very important command that is used to perform disk management task (i.e scan disk for errors). This command can be used to correct disk anomalies like corrupt boot sector, file indexing error, disk bad sector e.t.c Example 1. C:\ > chkdsk d: Example 2. C:\ > chkdsk d: /f  Example 1 will do a general scan on disk D and reports any error encountered.  Example 2 will scan and fix any error found on the D

ADVANCE COMMANDS : IPCONFIG This command relays the IP address that your computer is currently using. However, if you’re behind a router (like most computers today), you’ll instead receive the local network address of the router. Example 1. C:\ > ipconfig Example 2. C:\ > ipconfig /release C:\ > ipconfig /renew Example 3. C:\ > ipconfig /flushdns  Example 1 gets all the IP address for enabled network devices.  Example 2 forces your Windows PC into asking for a new IP address, which is useful if your computer claims one isn’t available.  Example 3 refreshes your DNS address

ADVANCE COMMANDS : NETSTAT Netstat command will provide you with a list of currently open ports and related IP addresses Example 1. C:\ > netstat -an  You’ll also be told what state the port is in – listening, established or closed. This is a great command if you’re trying to troubleshoot the devices your PC is connected to or you’re afraid you’re infected with a Trojan and are trying to locate a malicious connection.

ADVANCE COMMANDS : PING Typing “ping” followed by an IP address or web domain will send a series of test packets to the specified address. If they arrive and are returned, you know the device is capable of communicating with your PC; if it fails, you know that there’s something blocking communication between the device and your computer. Example 1. C:\ > ping  The output of the above command is shown below

ADVANCE COMMANDS : POWERCFG Powercfg is a very powerful command for managing and tracking how your computer uses energy. Example 1. C:\ > powercfg /hibernate on Example 2. C:\ > powercfg /hibernate off Example 3. C:\ powercfg /a  Example 1 and 2 is used to manage hibernation by turning it on and off respectively.  Example 3 is used to view the power-saving states currently available on your PC.

ADVANCE COMMANDS : ATTRIB The attrib command can be used to restore hidden files as a result of virus or malware attack. Example 1. C:\ > attrib –s –h /s /d *.*  The above commands works magically to restore all file hidden or system protected by virus. This is very useful when a thumb or flash drive is infected with virus make all the files on it not accessible.  Ensure that you change directory to the root directory of the infected drive.

ADVANCE COMMANDS : SFC SFC command is a System File Checker that launches automatic scan and repair tool that focuses on Windows system files. You will need to run the command prompt with administrator privileges. Example 1. C:\ > sfc /scannow  When the above command is executed, If any corrupt or missing files are found, they’ll be automatically replaced using cached copies kept by Windows for just that purpose. The command can require a half-hour to run on older notebooks. Ensure that you change directory to the root directory of the infected drive.

USEFUL TIPS MS-DOS and the Windows command line are not case sensitive. The files and directories shown in Windows are also found in the command line. When working with a file or directory with a space, surround it in quotes. For example, My Documents would be "My Documents." Filenames can have a long file name of 255 characters and a 3 character file extension. When a file or directory is deleted in the command line, it is not moved into the Recycle Bin. If you need help with any of command type /? after the command. For example, dir /? would give the options available for the dir command.