Chapter 21. Environmental Issues

One of the things the CLI provides that you just can’t get with the GUI is the ability to pop the hood open and take a look underneath. Maybe even tweak a thing or two, if need be.

In this chapter, we’re going to take a look at the Bash shell environment, not only to see what’s there, but also to learn how to change it.

Taking Charge of Our Environment!

The shell in which your CLI resides has an environment of its own. It includes a lot of information used by the shell and by applications you run in it.

We’re talking about variables containing program names, arguments, and paths. To get a better idea of what sort of information the environment contains, type env at the command prompt and press Enter.

Here’s what the ...

Get CLI for Noobies: A Primer on the Linux Command Line now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.