1 Lab 1-1 Using the Command Line Copyright © 2006 Heathkit Company, Inc. All Rights Reserved.

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.
Guide To UNIX Using Linux Third Edition
Micro Op SYS (DOS) Chapters 1, 2, 3, 5, 6, 7. 2 Hardware Four Categories –CPU (Central Processing Unit) –Primary Storage (RAM) –Input/Output Devices Keyboard.
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.
Windows XP Desktop. Open DOS Command Window.
© 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.
Ch11 Getting Started with the Operating System. Ch12 Overview Will discuss the purpose and function of an operating system.
Guide To UNIX Using Linux Fourth Edition
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.
1 DOS 2 Directory structure of disks Directory structure of disks Full Path or Full file specification Full Path or Full file specification Creating directories.
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.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
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.
Operating System Basics Chapter 1 Release 16/07/20 09 powered by dj.
Understanding the Boot Process and Command Line
4 1 Operating System Activities  An operating system is a type of system software that acts as the master controller for all activities that take place.
Ch 21 Command Syntax Using the DIR Command with Parameters and Wildcards.
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.
Computers Are Your Future Twelfth Edition Spotlight 2: File Management Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 1.
Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive.
The Command Line Mostly MS Dos with some UNIX/LINUX Copyright © Curt Hill.
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.
BY PREETHI DOS INTERNAL COMMANDS. INTERNAL COMMANDS  DOS commands that are present in the COMMAND.COM file and are automatically loaded into RAM when.
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.
Welcome to CS323 Operating System lab 1 TA: Nouf Al-Harbi NoufNaief.net.
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 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:
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 10 – Using the Command Line.
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.
© 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.
Operating System. What is Operating System OS is system software, which may be viewed as collection of software consisting of procedures for operating.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 15 Windows 9x/Me Commands and Startup Disk.
IST 222 Day 6. DOS Naming Conventions A filename contains up to 8 characters, a separating period, and a file extension of up to three characters This.
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.
Agenda The Linux File System (chapter 4 in text) Directory Structures / Navigation Terminology File Naming Rules Relative vs Absolute pathnames Unix Commands:
Systems Administration (Windows) BIT3111 – Lecture 5 (Introduction to Windows OS)
Lecture-7 Introduction to DOS. Introduction to UNIX/LINUX OS.
Lesson 4 0x Operating Systems.
Introduction to Operating Systems
FTP Lecture supp.
Command Syntax Chapter 2 Using the DIR Command with
Introduction to MS-DOS
Operating System Fundamentals
Chapter 6 Using DEL, REN, MOVE, and RD /S Ch 6.
OPERATING SYSTEM B-TECH III YEAR I SEM BRANCH :ECE
1.3 Given a scenario, apply appropriate Microsoft command line tools
Presentation transcript:

1 Lab 1-1 Using the Command Line Copyright © 2006 Heathkit Company, Inc. All Rights Reserved

2 Internal Versus External Commands

3 Internal Commands Built into the OS. Built into the OS. Already in memory if the OS is loaded. Already in memory if the OS is loaded. Available anytime the computer is displaying a command prompt. Available anytime the computer is displaying a command prompt. Generally, the more frequently used commands. Generally, the more frequently used commands. Examples include: DIR, COPY, PATH, CD, MD, DEL, TIME, DATE. Examples include: DIR, COPY, PATH, CD, MD, DEL, TIME, DATE.

4 External Commands Not a part of COMMAND.COM. Not a part of COMMAND.COM. Located in another directory. Located in another directory. Must be loaded into memory as needed by the OS. Must be loaded into memory as needed by the OS. Examples include: FORMAT, DEFRAG, DISKCOPY, MEMMAKER, and SCANDISK. Examples include: FORMAT, DEFRAG, DISKCOPY, MEMMAKER, and SCANDISK.

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

6 Commands have three parts: KeywordParameterSwitch Optional

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

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

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

10 Switches A special type of parameter that enables or disables optional functions of the command. 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 /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). The /W switch with the DIR command displays the directory in the wide format (five columns wide).

11 Two Common Forms of Commands: KeywordDrive/FilesSwitches Or KeywordSource FilesSwitchesTarget Files

12 DEL SALES95.DOC Keyword File

13 DEL A:\SALES95.DOC Keyword File

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

15 COPY FILE13.TXT A: Space

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

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

18 Bad command or file name.

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