Shell Command Language
2.1 Shell Introduction
2.2 Quoting
2.2.1 Escape Character (Backslash)
2.2.2 Single-Quotes
2.2.3 Double-Quotes
2.2.4 Dollar-Single-Quotes
2.3 Token Recognition
2.3.1 Alias Substitution
2.4 Reserved Words
2.5 Parameters and Variables
2.5.1 Positional Parameters
2.5.2 Special Parameters
2.5.3 Shell Variables
2.6 Word Expansions
2.6.1 Tilde Expansion
2.6.2 Parameter Expansion
Examples
2.6.3 Command Substitution
2.6.4 Arithmetic Expansion
Examples
2.6.5 Field Splitting
2.6.6 Pathname Expansion
2.6.7 Quote Removal
2.7 Redirection
2.7.1 Redirecting Input
2.7.2 Redirecting Output
2.7.3 Appending Redirected Output
2.7.4 Here-Document
Examples
2.7.5 Duplicating an Input File Descriptor
2.7.6 Duplicating an Output File Descriptor
2.7.7 Open File Descriptors for Reading and Writing
2.8 Exit Status and Errors
2.8.1 Consequences of Shell Errors
2.8.2 Exit Status for Commands
2.9 Shell Commands
2.9.1 Simple Commands
2.9.2 Pipelines
2.9.3 Lists
2.9.4 Compound Commands
2.9.5 Function Definition Command
2.10 Shell Grammar
2.10.1 Shell Grammar Lexical Conventions
2.10.2 Shell Grammar Rules
2.11 Job Control
2.12 Signals and Error Handling
2.13 Shell Execution Environment
2.14 Pattern Matching Notation
2.14.1 Patterns Matching a Single Character
2.14.2 Patterns Matching Multiple Characters
2.14.3 Patterns Used for Filename Expansion
2.15 Special Built-In Utilities
break
colon
continue
dot
eval
exec
exit
export
readonly
return
set
shift
times
trap
unset