Bash Reference Manual
Table of Contents
- 1 Introduction
- 2 Definitions
-
3 Basic Shell Features
- 3.1 Shell Syntax
- 3.2 Shell Commands
- 3.3 Shell Functions
- 3.4 Shell Parameters
- 3.5 Shell Expansions
-
3.6 Redirections
- 3.6.1 Redirecting Input
- 3.6.2 Redirecting Output
- 3.6.3 Appending Redirected Output
- 3.6.4 Redirecting Standard Output and Standard Error
- 3.6.5 Appending Standard Output and Standard Error
- 3.6.6 Here Documents
- 3.6.7 Here Strings
- 3.6.8 Duplicating File Descriptors
- 3.6.9 Moving File Descriptors
- 3.6.10 Opening File Descriptors for Reading and Writing
- 3.7 Executing Commands
- 3.8 Shell Scripts
- 4 Shell Builtin Commands
- 5 Shell Variables
- 6 Bash Features
- 7 Job Control
- 8 Command Line Editing
- 9 Using History Interactively
- 10 Installing Bash
- Appendix A Reporting Bugs
- Appendix B Major Differences From The Bourne Shell
- Appendix C GNU Free Documentation License
- Appendix D Indexes
Bash Features
This text is a brief description of the features that are present in the Bash shell (version 5.1, 21 December 2020). The Bash home page is http://www.gnu.org/software/bash/.
This is Edition 5.1, last updated 21 December 2020, of The GNU Bash Reference Manual, for Bash
, Version 5.1.
Bash contains features that appear in other popular shells, and some features that only appear in Bash. Some of the shells that Bash has borrowed concepts from are the Bourne Shell (sh), the Korn Shell (ksh), and the C-shell (csh and its successor, tcsh). The following menu breaks the features up into categories, noting which features were inspired by other shells and which are specific to Bash.
This manual is meant as a brief introduction to features found in Bash. The Bash manual page should be used as the definitive reference on shell behavior.
Introduction | An introduction to the shell. |
Definitions | Some definitions used in the rest of this manual. |
Basic Shell Features | The shell "building blocks". |
Shell Builtin Commands | Commands that are a part of the shell. |
Shell Variables | Variables used or set by Bash. |
Bash Features | Features found only in Bash. |
Job Control | What job control is and how Bash allows you to use it. |
Command Line Editing | Chapter describing the command line editing features. |
Using History Interactively | Command History Expansion |
Installing Bash | How to build and install Bash on your system. |
Reporting Bugs | How to report bugs in Bash. |
Major Differences From The Bourne Shell | A terse list of the differences between Bash and historical versions of /bin/sh. |
GNU Free Documentation License | Copying and sharing this documentation. |
Indexes | Various indexes for this manual. |
Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
Licensed under the GNU Free Documentation License.
https://www.gnu.org/software/bash/manual/html_node/index.html