Bash Features
This text is a brief description of the features that are present in the Bash shell (version 5.2, 19 September 2022). The Bash home page is http://www.gnu.org/software/bash/.
This is Edition 5.2, last updated 19 September 2022, of The GNU Bash Reference Manual, for Bash
, Version 5.2.
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.
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
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