Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 10 – Using the Command Line.

Slides:



Advertisements
Similar presentations
DOS commands.
Advertisements

DOS & Windows O/s Prof. Sujata Rao Less 5.
Understanding the Boot Process and Command Line
Lesson 4 0x Operating Systems.
Operating System Type of Operating System
A+ Guide to Software, 4e Chapter 6 Windows 9x/Me Commands and Startup Disk.
Chapter 3 Understanding the Boot Process and Command Line.
Disk Operating System (DOS)
MCT260-Operating Systems I Operating Systems I Navigating the File System.
© 2007 The McGraw-Hill Companies, Inc. All rights reserved Working with the Command- Line Interface Chapter 14.
The Operating System and the User Interface
MCT260-Operating Systems I Operating Systems I Interfaces to Operating Systems.
FILES  A file is a collection of related information  Files are kept in directories on a disk.
Operating System Commands. Commands External / internal command In MS-DOS there are two types of commands. An Internal command, which is a command embedded.
Operating System Fundamentals
© 2010 The McGraw-Hill Companies, Inc. All rights reserved Mike Meyers’ CompTIA A+ ® Guide to Managing and Troubleshooting PCs Third Edition Working with.
Command Line Interface
COMPUTER CONCEPTS.
Or CMD/BATCH.  Title this comand makes the cmd prompt’s title whatever you would like it to be.
1 Lab 1-1 Using the Command Line Copyright © 2006 Heathkit Company, Inc. All Rights Reserved.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 4 Disk Operating System (DOS) and the Command-Line Interface McGraw-Hill.
Ch 71 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editor.
Lesson 4 Computer Software
Ch11 Getting Started with the Operating System. Ch12 Overview Will discuss the purpose and function of an operating system.
Ch 26 & 27 User Interfaces.
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.
Ch 51 Internal Commands COPY and TYPE. Ch 52 Overview Will review file-naming rules.
DOS Commands What is a command Types of DOS Commands Basic Terms
Ch 61 Using DEL, REN, MOVE, and RD /S. Ch 62 Overview Will continue to work with internal commands that help manage and manipulate files.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
System software operating system 1.
The Command Line Interface. The OS files IO.sys MSDOS.sys Command.com IO and MSDOS are hidden files, COMMAND.COM shows in directory listings.
Learning Targets Identify the external parts of the computer Identify examples of input devices Identify examples of output devices Define basic computer.
Ch 21 Command Syntax Using the DIR Command with Parameters and Wildcards.
Web Page Design I Retest Terms Review. 1. Web pages are created using a language known as ___________. The coding of this language must follow specific.
Gene Perkins, Lassen High School Networking Academy
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:
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Ch 41 Program Files, Data Files, and Subdirectories.
The Command Line Mostly MS Dos with some UNIX/LINUX Copyright © Curt Hill.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 15 – The Hard Drive.
Getting Started Additional information. Important DOS Commands Getting Started dirlists disk directories verdisplays OS version clsclear command prompt.
Operating Systems Concepts 1/e Ruth Watson Chapter 3 Chapter 3 DOS Ruth Watson.
OPERAING SYSTEM 1 CA-210 WINDOWS XP. CHAPTER 1 OPERATING SYSTEM FUNDAMENTALS.
Basic MS-DOS. History MS-DOS 1.0 was released in August 1981, and was updated until April 1994 when it was replaced by Windows 95 All versions of windows.
DOS and the Command Line CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
Basic MS-DOS.
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.
Define and describe operating systems which contain a Command Line Interface (CLI) Define and describe operating systems which contain a Graphical User.
Operating System Fundamentals 1. Components of an OS 2. Functions of an OS 3. Types of OS 4. Command-line tools.
File and Folder CLI Commands 12/24/ Agenda Overview of OS functions and the SHELL Internal v External Commands Command History Making & Modifying.
Basic DOS How to get some work done. It’s all a file Everything is a file: OS files, Application files, Data files and Game files Files have 8.3 names:
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
IT Essentials 1 v3 Module 4 JEOPARDY IT Essentials 1 RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
Graphical User Interfaces (GUI’s ). & Command-Line Interfaces.
Operating System. What is Operating System OS is system software, which may be viewed as collection of software consisting of procedures for operating.
MS-DOS is an acronym for MicroSoft Disk Operating System It is a CUI based operating system. It provides user with a command prompt (generally called.
Systems Administration (Windows) BIT3111 – Lecture 5 (Introduction to Windows OS)
Lesson 4 0x Operating Systems.
Guide to Linux Installation and Administration, 2e
Lab 1-2 The Command Line Prompt
FTP Lecture supp.
Command Syntax Chapter 2 Using the DIR Command with
Operating Microcomputer
Operating System Fundamentals
Chapter 6 Using DEL, REN, MOVE, and RD /S Ch 6.
OPERATING SYSTEM B-TECH III YEAR I SEM BRANCH :ECE
Presentation transcript:

Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 10 – Using the Command Line

2 Objectives At the end of this presentation, you will be able to:

3 Explain how to get to the command line in an operational PC and in a faulty PC. Explain the difference between an internal and an external command. Properly structure a command, given the available parameters of that command. Explain the difference between a slash and a backslash. Demonstrate the proper way to use wildcards in a command.

4 Definition: DOS DOS is Disk Operating System DOS was the original operating system for the personal computer “DOS” is now used to refer to a text-based interface

5 What’s it called? MS-DOS Prompt DOS Prompt Command Line Command Prompt Command-Line Interface “DOS”

6 C:\> _______

7 Graphical Interface Commands Mouse Clicks Mouse Clicks Translate mouse clicks into commands Command Line Input

8 Why use the Command Line? In a faulty PC, it may be the only way to get the computer running again. Some operations are faster and easier from the command line. Some commands have no graphical equivalent Certification tests have questions about using the command line.

9 Unique Command Line Commands at convert cacls

10 Getting to the Command Line in an operational PC.

11 The Command Prompt Window

12 Getting to the Command Line in a faulty PC. Boot the PC from a CD or floppy that contains a Command Interpreter.

Internal vs. External Commands

14 Internal Commands Built into the Command Interpreter (COMMAND.COM or CMD.EXE). Already in memory if DOS is loaded. Available anytime the computer is displaying the command line prompt. Generally, the more frequently used commands. Examples include: DIR, COPY, PATH, CD, MD, DEL, TIME, DATE.

15 External Commands Not a part of Command Interpreter. Located in another directory. Must be loaded into memory as needed by DOS. Examples include: FORMAT and DISKCOPY.

16 Syntax A specific set of rules that you must follow when writing commands. The order in which you arrange the elements of the command. The rules of grammar for commands.

17 Commands have three Parts: Keyword Parameter Switch Optional

18 Keyword - What action to perform. Parameter - What is acted upon. Switches - How to perform the action.

19 Keyword A unique word or set of characters that identifies the action to be performed. Some are quite descriptive: FORMAT, COPY, MOVE Others are abbreviated: DEL and DIR A few are little more than memory aids: GRAFTABL.

20 Parameter Additional directions for the command. It may specify a directory or file on which to perform the action. It may specify a hardware device. It may specify a system setting.

21 Switches A special type of parameter that enables or disables optional functions of the command. The /P switch with the DIR command displays the directory one screen at a time. The /W switch with the DIR command displays the directory in the wide format (five columns wide).

22 Two Common Forms of Commands: Keyword Drive/Files Switches Or Keyword Source Files Switches Target Files

23 DEL SALES07.DOC Keyword File

24 DEL A:\SALES07.DOC Keyword File

25 COPY FILE13.TXT A: Keyword Source Target or Destination

26 COPY FILE13.TXT A: Space

27 COPY FILE13.TXT A: /V Keyword Source Target or Destination Switch

28 Backslash Vs. Forward Slash \ Backslashes are used as separators when specifying directory or file information. / Forward slashes are used to notify the command line that the next character is a switch.

You Inadvertently Type: copyfile13 Command Line Replies: ‘copyfile13’ is not recognized as an internal or external command, operable program or batch file.

30 Getting Help. Type HELP followed by the command you want to know about. Type the command and then follow it with the switch /?.

31 Wild Cards A A A ? ? ? * * * * A A

32 Wild card for a single character. ?

33 The file name: FILE? Can represent: FILE1 FILE2 FILE3 FILE4 FILE5... FILEA FILEB FILEC FILED FILEE...

34 JAN07SLS.XLS FEB07SLS.XLS MAR07SLS.XLS APR07SLS.XLS MAY07SLS.XLS JUN07SLS.XLS JUL07SLS.XLS AUG07SLS.XLS SEP07SLS.XLS OCT07SLS.XLS NOV07SLS.XLS DEC07SLS.XLS JAN06SLS.XLS FEB06SLS.XLS MAR06SLS.XLS APR06SLS.XLS MAY06SLS.XLS JUN06SLS.XLS JUL06SLS.XLS AUG06SLS.XLS SEP06SLS.XLS OCT06SLS.XLS NOV06SLS.XLS DEC06SLS.XLS

35 JAN0?SLS.XLS JAN00SLS.XLS JAN01SLS.XLS JAN02SLS.XLS JAN03SLS.XLS JAN04SLS.XLS JAN05SLS.XLS JAN06SLS.XLS JAN07SLS.XLS

36 ???07SLS.XLS JAN07SLS.XLS FEB07SLS.XLS MAR07SLS.XLS APR07SLS.XLS MAY07SLS.XLS JUN07SLS.XLS JUL07SLS.XLS AUG07SLS.XLS SEP07SLS.XLS OCT07SLS.XLS NOV07SLS.XLS DEC07SLS.XLS

37 Wild card for one to eight characters.

38

39 ????????.???

40 JAN0 * SLS.XLS JAN00SLS.XLS JAN01SLS.XLS JAN02SLS.XLS JAN03SLS.XLS JAN04SLS.XLS JAN05SLS.XLS JAN06SLS.XLS JAN07SLS.XLS

41 JAN07SLS.XLS FEB07SLS.XLS MAR07SLS.XLS APR07SLS.XLS MAY07SLS.XLS JUN07SLS.XLS JUL07SLS.XLS AUG07SLS.XLS SEP07SLS.XLS OCT07SLS.XLS NOV07SLS.XLS DEC07SLS.XLS 07SLS.XLS *

Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals End