Chapter 2

The Bash Shell

This chapter’s learning objects are

  • To understand the role of the shell in Linux
  • To be able to enter commands via the command line prompt in Linux
  • To understand what options and parameters are in Linux commands
  • To be able to apply aliases, history, command-line editing, brace expansion, tilde expansion, and wildcards in Bash
  • To be able to use variables from the command line prompt and understand the roles of the common environment variables
  • To understand the Linux commands ls and man
  • To be able to apply redirection in Linux commands
  • To be able to tailor a shell using .bashrc, .bash_profile

2.1 Introduction

A shell is a user interface. Recall from Chapter 1, there are different types of user interfaces. In Linux, ...

Get Linux with Operating System Concepts 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.