Computer Systems 2009-2010 Week 11: The Command Line Interface Alma Whitfield.

Slides:



Advertisements
Similar presentations
What is Computer Software?. Hardware vs Software Got to have both to get the job done!
Advertisements

COMPUTERS: TOOLS FOR AN INFORMATION AGE Chapter 3 Operating Systems.
Lesson 4 0x Operating Systems.
What is an operating system? Is it software?
Lesson 6. The Computer Operation Computer Operating Systems GUI vs. Command line The Microsoft Windows Family File Systems – How Computers Manage Data.
Operating System Type of Operating System
 An operating system (OS) is a set of computer programs that allow the user to perform basic tasks like copying, moving, saving and printing files. 
Activity One Use the Windows Explorer program to create a new folder. Name the folder by your first name. Click on the windows explorer icon then highlight.
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
MCT260-Operating Systems I Operating Systems I Interfaces to Operating Systems.
Computer Parts There are many parts that work together to make a computer work.
Operating Systems.
Command Console Tutorial BCIS 3680 Enterprise Programming.
Operating System Fundamentals
Windows Command Line Operating Systems Labs 3, 4, 5.
Operating System.
SOFTWARE.
Operating Systems Chapter 4.
Lesson 4 Computer Software
TC2-Computer Literacy Mr. Sencer February 8, 2010.
Chapter Three Software and Operating Systems What is software? How software is developed (Analysis, Design, Programming, and Testing) What are software.
Hardware vs. Software Computer systems consist of both hardware and software. Hardware refers to anything you can physically touch. Keyboards, mice, monitors,
Computer Systems Week 10: File Organisation Alma Whitfield.
Lesson 6 Operating Systems and Software
DOS Commands What is a command Types of DOS Commands Basic Terms
PC Components, Features, System Design.
Software GCSE ICT.
Computer Parts There are many parts that work together to make a computer work.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
System Software Chapter 4 of Computers: Understanding Technology (Third edition) 1September 16, William Pegram.
SOFTWARE A mechanical engineer, an electrical engineer and a software engineer are travelling in an old Fiat 500 when all of the sudden the car backfires.
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 11 Committed to Shaping the Next Generation of IT Experts. Windows XP Robert Grauer, Lynn.
Practical Computer Literacy Week-02
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
Introducing… Microsoft Windows VISTA Introducing… Microsoft Windows VISTA.
* Property of STI Page 1 of 18 Software: Systems and Applications Basic Computer Concepts Software  Software: can be divided into:  systems software.
COLLECTING Software. Why use Software with Hardware? Software used for collecting includes the software that interfaces with hardware collection device.
Module 2 : Part 1 INTRODUCTION TO HARDWARE & SOFTWARE INTRODUCTION TO HARDWARE & SOFTWARE.
DISK OPERATING System MS-DOS. MS-DOS Microsoft Disk Operating System (MS-DOS) is a single user, single tasking operating system. DOS is a command-line,
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.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Introducing Software Computer Concepts Unit A. Introducing Software What is an Operating System? OS is the master controller for all the activities that.
OPERATING SYSTEMS BY LANDON, KYLE, AND ETHAN. WHAT IS THEIR PURPOSE? (1) manage the computer's resources, such as the central processing unit (2) establish.
Operating System Fundamentals 1. Components of an OS 2. Functions of an OS 3. Types of OS 4. Command-line tools.
Exploring Office 2003 Vol 1 2/e - Grauer and Barber 1 Committed to Shaping the Next Generation of IT Experts. Getting Started with Windows® XP Robert Grauer.
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.
Lecture (7) Systems software and Application Software.Systems software and Application Software. Dr:Emad Elsharkawy Eng-Omar Salah Dr:Emad Elsharkawy 1.
BIF713 Operating System Concepts MS Windows. Agenda 1. What is an Operating System (definition)? 2. Types of Operating Systems 3. Basic Operations: –
Operating Systems. An operating system (os) is a software program that enables the computer hardware to communicate and operate with the computer software.
INFORMATION SYSTEM – SOFTWARE TOPIC: GRAPHICAL USER INTERFACE.
Windows XP. Operating System Operating System Operating System Software system to make computer usable by performing basic housekeeping operations, such.
Computer Operating Systems And Software applications.
Operating System. What is Operating System OS is system software, which may be viewed as collection of software consisting of procedures for operating.
WHAT IS HARDWARE ? Computer hardware is the collection of physical elements that comprise a COMPUTER SYSTEM LIKE A MOUSE, MONITOR, KEYBOARD, SPEAKER MICROPHONE,
Systems Administration (Windows) BIT3111 – Lecture 5 (Introduction to Windows OS)
Computer Fundamentals 1
An Introduction to Computers and Visual Basic
Introducing… Microsoft Windows7
Computer Technology Notes #3
Computer Software CS 107 Lecture 2 September 1, :53 PM.
Objective 2.02: Understand computer performance and features
Objective 2.02: Understand computer performance and features
Operating System Fundamentals
An Introduction to Computers and Visual Basic
OPERATING SYSTEM B-TECH III YEAR I SEM BRANCH :ECE
1.3 Given a scenario, apply appropriate Microsoft command line tools
Windows.
Presentation transcript:

Computer Systems Week 11: The Command Line Interface Alma Whitfield

2 What we have done so far Files organised into directories Directories form a hierarchy Manipulated files using Windows Windows Explorer

3 What we are going to do today Examine the MS-DOS operating system’s command line interface Look at how MS Windows has developed from MS-DOS

4 Organising files Thousands of files can be held in secondary storage Organising the files is a job for the operating system

5 Operating systems An operating system is software installed on the computer to make it possible to use it without needing a degree in electronic engineering

6 Operating systems: mini-history Early machines had no operating system – you needed to be an engineer to run a program Could only run one program at a time The CPU spent most of its time waiting for hardware to complete tasks like printing or writing to or reading from disc

7 Operating systems: mini-history By the 1960s, operating systems could run several programs at the same time While one program is waiting for a read from disc, another could be executing

8 Operating systems: early 1980s Microsoft introduced PC operating system called MS-DOS Microsoft Disc Operating System Disc operating system means file organisation Instructions typed in at a command line

9 Operating systems: early 1980s Microsoft introduced PC operating system called MS-DOS Microsoft Disc Operating System Disc operating system means file organisation Instructions typed in at a command line

10 MS-DOS uses a Command Line Interface Do not use mouse Type in commands as words i.e. lines of command Use a Command Prompt box Start | Programs | Accessories | Command Prompt Demo

11 Entering MS-DOS commands Commands consist of A single word Optional extra information e.g. c:\>ver c:\>ping c:\>ping

12 The current directory When using MS-DOS, it always places you in a directory “Everybody has got to be somewhere” (Eccles – the Goon Show – circa 1954) This is called the Current Directory The command prompt tells you what the current directory is E.g. c:\windows\temp> …. means current directory is \windows\temp on the c: drive

13 Finding out what is in the current directory Use the dir command E.g. c:\>dir

14 Disc information

15 Directory name

16 Information about the files in this directory

17 Date and time file last changed p = pm a = am

18 indicates these two items are directories

19 This file is named win2k.xpr It is 189,624 bytes in size

20 Total size of files in this directory Number of bytes still available on the disc

21 Changing drive in MS-DOS Demo Use drive name ( A:, C: etc)

22 File handling in MS-DOS Create and edit text files edit Display text files type Change current directory cd Make a new directory md Remove a directory rd Copy files from one directory to another directory copy

23 Using edit Demo Creating text files Editing text files

24 Using copy Demo Using wildcards in copying c:\>copy *.txt c:\temp c:\>copy *.* c:\temp

25 Using md to make directories Demo Building this directory structure c:\>md D c:\>md A c:\>cd D c:\D>md B c:\D>cd \ c:\>cd A c:\A>md D

26 Using cd Demo Moving up one level c:\>cd A c:\A> c:\A>cd.. c:\>

27 Using cd with absolute and relative paths Absolute path: starts with root c:\>cd \A\D c:\A\D> Relative path: starts from current directory c:\A\D>cd..\..\D c:\D>

28 Batch files Collecting batches of commands into one command Like a macro in other applications e.g. Word, Excel

29 A batch file example What directory structure does this batch file create: cd \ md A md B cd A md C

30 A second batch file example Write a batch file to create this directory structure: cd \ md A md B md C cd B md D

31 A third batch file example Write a batch file to create this directory structure: cd \ md D md A cd D md B cd \A md D

32 Operating systems: early 1980s Apple Inc introduced first operating system with a Graphical User Interface (GUI) Apple Lisa Apple MacIntosh Instructions issued using mouse clicks on menus, and buttons

33 Operating systems: early 1980s

34 Operating systems Microsoft Windows family of operating systems Windows Windows 95 Windows 98 Windows 2000 Windows XP Vista

35

36 A brief survey of Microsoft Windows Operating Systems Also - flv file present locally

37 Microsoft Windows has two streams Graphical front end to MS-DOS Windows Windows 95 Windows 98 Not based on MS-DOS Windows 2000 Windows XP Vista Streams look the same but completely different inside A brief survey of Microsoft Windows Operating Systems

38 Other PC Operating Systems Linux operating systems Red Hat Linux SuSE Linux Mandrakesoft Linux etc Competitor to Microsoft Based on Unix operating systems Originally had only command line type interfaces Recent developments provide graphical front ends