O'Reilly logo

LPIC-1/CompTIA Linux+™ Certification All-in-One Exam Guide by Robb Tracy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the Shell Prompt

In this part of the chapter, you will learn how to do the following:

• Enter commands at the shell prompt

• Use command history

• Use tab completion

Let’s begin by discussing how to enter commands at the shell prompt.

Entering Commands at the Shell Prompt

Running a program or command from the shell prompt is relatively easy. It is done in the same manner as in DOS or within a Command window in Windows. You simply type the command, script filename, or program filename at the shell prompt and press ENTER. In this example, the ls command has been entered at the shell prompt:

Image

The ls command is equivalent to the DIR command ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required