15.01.2024 Views

CompTIA A+ Certification All-in-One Exam Guide

  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

You type a command and press enter to send it:

The computer executes the command and, when finished, displays a new

prompt, often along with some information about what it did:

Once you get a new prompt, it means the computer is ready for your next

instruction. Running commands from the command line is similar to clicking

on icons in the operating system’s GUI. The results are basically the same:

you tell the computer to do something and it responds.

Try This! Opening Windows GUI Programs from the

Command Prompt

Keep in mind as you go through this chapter that the command line is just

another tool for communicating with the operating system. Windows

responds whether you click or type and sometimes does both, so try this!

At a command prompt, type notepad and press ENTER. What happens?

The graphical program Notepad opens up, just as if you’d double-clicked

on its icon. Here’s another: type explorer and press ENTER. Voilà!

Windows Explorer or File Explorer loads. Windows just responds.

Shells

The command prompt, like a GUI, is just another way to interface with a

computer. The command line interprets input and sends it to the OS in a form

the OS understands, and then shows the results. The tool that interprets input

is called the command-line interpreter, also known as the shell. The default

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!