© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.

Slides:



Advertisements
Similar presentations
DOS commands.
Advertisements

A+ Guide to Software, 4e Chapter 6 Windows 9x/Me Commands and Startup Disk.
Chapter One The Essence of UNIX.
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.
Linux+ Guide to Linux Certification, Second Edition
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.
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Operating System Fundamentals
Command Prompt Chapter 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the MS-DOS Text Editor Richard Goldman ©January 31, 2000.
© 2010 The McGraw-Hill Companies, Inc. All rights reserved Mike Meyers’ CompTIA A+ ® Guide to Managing and Troubleshooting PCs Third Edition Working with.
© 2013 The McGraw-Hill Companies, Inc. All rights reserved Mike Meyers’ CompTIA A+ ® Guide to 802: Managing and Troubleshooting PCs Fourth Edition (Exam.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
User Interfaces Operating Systems Lecture 2, 20 March 2003 Mr. Greg Vogl Uganda Martyrs University.
Or CMD/BATCH.  Title this comand makes the cmd prompt’s title whatever you would like it to be.
© 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.
George Vordenbaum Systems Content Developer Global Support Automation Microsoft Corporation Exploring Windows XP Boot Options and Recovery Console George.
Ch 71 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editor.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Preparing for Electronic Distribution Lesson 14.
System Software. BIOS Basic Input Output System A kind of ROM Execute routines Checking RAM, detecting hard disk, floppy disk, CDROM, … etc.
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
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.
Chapter Five Maintaining a Computer Part III: File and Folder Management.
Project 3 File, Document, Folder Management, Windows XP Explorer Windows XP Service Pack 2 Edition Comprehensive Concepts and Techniques.
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.
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.
Understanding the Boot Process and Command Line
Ch 21 Command Syntax Using the DIR Command with Parameters and Wildcards.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
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.
Agenda User Profile File (.profile) –Keyword Shell Variables Linux (Unix) filters –Purpose –Commands: grep, sort, awk cut, tr, wc, spell.
An Introduction to UNIX System --- Cosc513 Presentation n Instructor: Morteza Anvari n Author: Yonghong Pan n ID#: n Date: Jan.29, 2001.
CENT 305 Information Systems Security Linux Introduction.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Computing Essentials 2014 System Software © 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized.
Shell Scripting Introduction. Agenda What is Shell Scripting? Why use Shell Scripting? Writing and Running a Shell Script Basic Commands -ECHO - REM.
Batch File Basics Automate repetitive computer processes Friday, March 12, 2014 Presented by Thomas Redd, STS, Granite School District.
PowerShell Class 2 Substituting for Doug Spindler
Linux Operations and Administration
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Operating Systems Concepts 1/e Ruth Watson Chapter 3 Chapter 3 DOS Ruth Watson.
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.
Chapter Three The UNIX Editors.
© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Introduction to Programming Using C An Introduction to Operating Systems.
Define and describe operating systems which contain a Command Line Interface (CLI) Define and describe operating systems which contain a Graphical User.
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Operating System Fundamentals 1. Components of an OS 2. Functions of an OS 3. Types of OS 4. Command-line tools.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Linux Commands C151 Multi-User Operating Systems.
File and Folder CLI Commands 12/24/ Agenda Overview of OS functions and the SHELL Internal v External Commands Command History Making & Modifying.
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.
Office 2013 and Windows 8: Essential Concepts and Skills Microsoft Office 2013.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Linux Tutorial Lesson Two *Getting Help in Linux *Data movement and manipulation *Relative and Absolute path *Processes Note: see chapter 1,2,3 from Linux.
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
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.
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 2 Introducing Operating Systems.
Systems Administration (Windows) BIT3111 – Lecture 5 (Introduction to Windows OS)
The Command Prompt Commands are the way to “do things” in Unix
9 Linux on the Desktop.
Command Syntax Chapter 2 Using the DIR Command with
Operating System Fundamentals
OPERATING SYSTEM B-TECH III YEAR I SEM BRANCH :ECE
Presentation transcript:

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Survey of Operating Systems, 4/e Chapter The Command-Line Interface 9

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. “ ” The Windows Command Prompt tool, and many of its commands, might seem boring or even relatively useless at first glance, but as anyone who has ever used the Command Prompt very often can tell you there’s much to love! Tim Fisher In an article at about.com titled 21 Command Prompt Tricks and Hacks

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Learning OutcomesLearning Outcomes  Open the Windows 7 or Windows 8 Command Prompt in the context of a Standard user or Administrator.  Use various techniques to use commands at the Windows Command Prompt.  Enter CLI commands at OS X’s Terminal window.

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Introduction to the Windows Command Prompt LO 9.1LO 9.1

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. The Windows Command Prompt is Not MS-DOSThe Windows Command Prompt is Not MS-DOS  MS-DOS was a small OS  It had no security features  It had a simple CLI and no native GUI  The MS-DOS command interpreter was command.com  The Command Prompt command interpreter is cmd.exe  Command Prompt is subject to Windows security

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. The Windows Command Prompt is Not Windows PowerShellThe Windows Command Prompt is Not Windows PowerShell  PowerShell is a CLI scripting environment for advanced users  PowerShell accepts some Command Prompt commands  PowerShell works with three other types of commands  Windows Command Prompt only accepts text as input  PowerShell accepts text as well as software objects as input

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Opening Windows 7 Command Prompts Open the Standard-User Command Prompt from the Accessories folder on the Windows 7 Start Menu

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Opening Windows 7 Command Prompts The Windows 7 Command Prompt for the Standard-User context

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Opening Windows 7 Command Prompts Open an Administrator Command Prompt in Windows 7 From the Accessories menu right-click on Command Prompt and select Run as administrator

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Opening Windows 7 Command Prompts The Windows 7 Administrator Command Prompt

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Opening Windows 7 Command Prompts The Windows 7 Safe Mode Command Prompt

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Opening Windows 7 Command Prompts Open the System Recovery Command Prompt Boot from the Windows 7 disc and select Repair your computer to access Recovery Options

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Opening Windows 7 Command Prompts From the System Recovery Options menu select Command Prompt

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Windows 8 Command Prompts Select Command Prompt from the Power User menu

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Windows 8 Command Prompts Windows 8 Standard-User Command Prompt

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Windows 8 Command Prompts Windows 8 Administrator Command Prompt

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Windows 8 Command Prompts Windows 8 Recovery Command Prompt

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Success at the Windows Command Prompt LO 9.2LO 9.2

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. How does the Command Prompt use letter case?How does the Command Prompt use letter case?  Windows is case-aware, but not case-sensitive  It will preserve letter case for file and folder names  It does not require case to match when referencing files  Commands are interpreted by letter, not case  To Windows (and the Command Prompt) dir is the same as DIR

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. How does the Command Prompt interpret a command?How does the Command Prompt interpret a command?  Command Prompt receives command  Locates the command’s program code  Loads the program code into memory  Passes options from the command line to the program  Command Prompt parses the command and options  Spaces separate parameters  Command Prompt issues error messages

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. The Command Prompt issues error messages when commands are entered incorrectly How does the Command Prompt interpret a command?How does the Command Prompt interpret a command?

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. How is a program found and loaded?How is a program found and loaded?  Command interpreter locates command’s program code  It first checks if the program is an internal command  Internal commands are stored in the operating system code  If no match, it searches the current directory  Then searches paths described in the registry  See the search paths used by Windows using the path command

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Use the path command to see the Windows search paths How is a program found and loaded?How is a program found and loaded?

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Type help and press E NTER Several pages scroll off the screen Using the Help Command with RedirectionUsing the Help Command with Redirection

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Repeat the help command and pipe it to more: help | more Press S PACEBAR to scroll one window at a time or press E NTER to display one line at a time Using the Help Command with RedirectionUsing the Help Command with Redirection

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Repeat the help command and redirect its output to a file: help > help.txt Open the file in Notepad: notepad help.txt Using the Help Command with RedirectionUsing the Help Command with Redirection

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. To find the syntax for the xcopy command enter this: xcopy /? What is the Correct Syntax?What is the Correct Syntax?

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. To find the syntax for the robocopy command enter this: robocopy /? What is the Correct Syntax?What is the Correct Syntax?

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Batch Files at the Command PromptBatch Files at the Command Prompt  A text file that contains commands  Batch files automate tasks  Windows batch files should use the cmd extension  The bat extension is for MS-DOS and very old versions of Windows  Both types will run in the Command Prompt

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Working with Files and DirectoriesWorking with Files and Directories  File and Directory Basics  Do not use reserved characters in a directory or file name  Do not use names reserved by Windows in directory or file names  Use meaningful names  Do not delete existing file name extensions when renaming  Use wildcards at the Command Prompt

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Working with Files and DirectoriesWorking with Files and Directories  Understand File Attributes  Read-only  Archive  System  Hidden  Volume Label  Directory

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. The attrib command shows the attributes for files in the Documents directory. File AttributesFile Attributes

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Managing Files and Directories The dir command shows a listing of files and directories in the user’s home directory

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Managing Files and Directories Copy all text files from the home directory to the Documents directory: copy *.txt documents

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Managing Files and Directories Move down one level down into the Documents directory: cd documents

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Managing Files and Directories Check that the files were copied: dir

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Managing Files and Directories Create a directory in the Documents directory: md manuals

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Managing Files and Directories Create a directory while copying the contents of the of the manuals directory into mybackup: xcopy manuals mybackup

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Managing Files and Directories Use robocopy to copy the mybackup directory into a directory named newbackup: robocopy mybackup newbackup

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Managing Files and Directories See what was copied into newbackup: dir newbackup

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Working with Files and DirectoriesWorking with Files and Directories  Robust copying with robocopy  Sophisticated CLI file/directory copy command  Provides a detailed report of the results  Indicate source and destination: drive:\path or \\servername\share\path  It copies all files within a source  No file names in source of destination  File names can be used elsewhere on the robocopy command line  File names must be after the source and destination and before options unless part of an option

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Using Terminal in OS X LO 9.3LO 9.3

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. IntroductionIntroduction  Terminal window is OS X CLI  OS X security applies to Terminal  Terminal shares features with other CLIs  Internal and external commands  Uses command-line delimiters and options  BASH command interpreter  Search paths  Supports batch files  Many commands identical to Linux  Terminal is case-sensitive and case-aware

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Launch TerminalLaunch Terminal Applications | Utilities | Terminal

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Launch TerminalLaunch Terminal Add Terminal to the Dock

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. The Terminal Window The Terminal window (on right) with two tabs Shell menu open on left

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Shell Commands in Terminal Press T AB key twice Press Y to continue

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Shell Commands in Terminal A listing of the user’s home directory (at top) in Terminal A Finder window (bottom) open to the same directory

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Using the Man Command Display the manpage for the ls command: man ls

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Using the Man Command List both hidden and nonhidden files and directories: ls -a

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Using the Man Command List both hidden and nonhidden files and directories and identify directories with a forward slash (/): ls -aF

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Using the Man Command Change to the parent directory: cd.. Change to the Home directory: cd ~ Change to the Documents directory: cd Documents

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Command CompletionCommand Completion Use the Tab key to trigger command completion

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Creating and Navigating DirectoriesCreating and Navigating Directories