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

Working with Environment Variables

Whenever you start a bash shell, several different variables are used to define critical parameters the shell needs to run properly. Because these variables define the shell environment, they are called environment variables. In this part of this chapter, we’re going to spend some time learning about environment variables. Specifically, we’re going to cover the following topics:

• What environment variables are

• Managing environment variables

• Creating user-defined variables

Let’s begin by reviewing what environment variables are.

What Are Environment Variables?

Before you can understand what an environment variable is, you must first understand what a variable itself is. The best way to describe variables ...

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