13
Introduction to command line for operating systems I.

Pace IT - Command Line OS (Part 1)

Embed Size (px)

Citation preview

Introduction to command line for operating systems I.

Page 2

Instructor, PACE-IT Program – Edmonds Community College

Areas of Expertise Industry Certifications

PC Hardware

Network Administration

IT Project Management

Network Design

User Training

IT Troubleshooting

Qualifications Summary

Education

M.B.A., IT Management, Western Governor’s University

B.S., IT Security, Western Governor’s University

Entrepreneur, executive leader, and proven manger with 10+ years of experience turning complex issues into efficient and effective solutions.

Strengths include developing and mentoring diverse workforces, improving processes, analyzing business needs and creating the solutions required— with a focus on technology.

Brian K. Ferrill, M.B.A.

Page 3

Introduction to command line for operating systems I.

– Command line tools.

– Operating system CLI utilities.

PACE-IT

Page 4

Command line tools.Introduction to command line for operating systems I.

Page 5

Command line tools.

– Command line tools.» A utility or set of utilities that are accessed from

the command line interrupter (CLI).» Usually accessed from the desktop, but not

always.» Use /? to find what switch modifiers can be used

with which commands.

– How to access via Windows Vista or Windows 7.

» Left click the Start button.» Type “cmd” or “command” in the search box and

press the return key.

– How to access via Windows XP.» Left click the Start button.» Left click on Run.» Type “cmd” or “command” in the run box and

press the return key.

Introduction to command line for operating systems I.

Page 6

Operating system CLI utilities.Introduction to command line for operating systems I.

Page 7

Operating system CLI utilities.

– md, rd, and cd.» md = make directory.

• Creates a directory in the given location.» rd = remove directory.

• Deletes a directory (if empty).» cd = change directory.

• Allows you to navigate the directory structure.

– del.» del = delete (erase).

• Deletes files and folders, but not directories.

– format.» Prepares a hard disk to receive data and installs a

file structure (e.g., FAT32, NTFS, and GPT).» Caution: will delete the file structure table, which

makes recovering previous data interesting.

Introduction to command line for operating systems I.

Page 8

Operating system CLI utilities.

– copy.» Used to copy a source file or directory to a named

destination.

– xcopy.» A more robust utility than copy, it can be used to

make an exact duplicate of a source (for example, it can make an exact duplicate of a program on CD-ROM and save it to a flash drive).

– robocopy.» Stands for Robust File Copy.» Shipped with Windows Vista.» Functional replacement for xcopy.

Introduction to command line for operating systems I.

Page 9

Operating system CLI utilities.

– diskpart.» Manual method of partitioning a disk.» An advanced tool that can manipulate disk space

from the command prompt, even when the Disk Management graphical user interface (GUI) is unavailable.

– chkdsk.» Checks the integrity of the designated disk.» Can help to recover files in some cases of

corruption.

– sfc (System File Checker).» Used to check the integrity of systems files.» Can help in cases of system file corruption that

have been caused by a virus infection.

Introduction to command line for operating systems I.

Page 10

Operating system CLI utilities.

– tasklist.» Displays a list of all tasks and services running on

a machine.» Also displays memory usage and process

identifier (PID).

– taskkill.» Used to end one or more tasks or processes.» Can kill the task using PID or image name.

– shutdown.» Manual method of forcing a shutdown, restart, or

log off from the command prompt.

Introduction to command line for operating systems I.

Page 11

What was covered.Introduction to command line for operating systems I.

A utility or set of utilities that, in most cases, is accessed from the command prompt via a running operating system.

Topic

Command line tools.

Summary

CLI utilities include md, rd, cd, del, format, copy, xcopy, robocopy, diskpart, chkdsk, sfc, tasklist, taskkill, and shutdown. All command line interpreter commands can be used with modifiers. Use /? to find the ones that are available for that command (e.g., “C:\>copy /?”).

Operating system CLI utilities.

Page 12

THANK YOU!

This workforce solution was 100 percent funded by a $3 million grant awarded by the U.S. Department of Labor's Employment and Training Administration. The solution was created by the grantee and does not necessarily reflect the official position of the U.S. Department of Labor. The Department of Labor makes no guarantees, warranties, or assurances of any kind, express or implied, with respect to such information, including any information on linked sites and including, but not limited to, accuracy of the information or its completeness, timeliness, usefulness, adequacy, continued availability or ownership. Funded by the Department of Labor, Employment and Training Administration, Grant #TC-23745-12-60-A-53.

PACE-IT is an equal opportunity employer/program and auxiliary aids and services are available upon request to individuals with disabilities. For those that are hearing impaired, a video phone is available at the Services for Students with Disabilities (SSD) office in Mountlake Terrace Hall 159. Check www.edcc.edu/ssd for office hours. Call 425.354.3113 on a video phone for more information about the PACE-IT program. For any additional special accommodations needed, call the SSD office at 425.640.1814. Edmonds Community College does not discriminate on the basis of race; color; religion; national origin; sex; disability; sexual orientation; age; citizenship, marital, or veteran status; or genetic information in its programs and activities.