Chapter 12. The Shell II: The Bourne Again Shell

IN THIS CHAPTER

Background

Shell Basics

Separating and Grouping Commands

Redirecting Standard Error

noclobber: Avoids Overwriting Files

Job Control

Manipulating the Directory Stack

Processes

Parameters and Variables

History

Editing the Command Line

Alias

Command Line Expansion

Although it focuses on the Bourne Again Shell, much of this chapter also applies to the Z Shell. The chapter notes where the zsh or tcsh implementation of a feature differs from that of bash; if appropriate, you are directed to the place in this book where the alternative implementation is discussed. Chapter 13 explores control flow commands and more advanced aspects of Bourne Again and Z Shell programming in detail.

The Bourne Again ...

Get A Practical Guide to Red Hat® Linux® 8 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.