Skip to content
The Bash Hackers Wiki
HOWTO
Initializing search
bash-hackers-wiki
Introduction
Commands
Dict
Howto
Internals
Misc
Scripting
Snipplets
Syntax
User
The Bash Hackers Wiki
bash-hackers-wiki
Introduction
Commands
Commands
The classic test command
Builtin
Builtin
The caller builtin command
Continuebreak
The declare builtin command
The echo builtin command
The eval builtin command
The exec builtin command
The exit builtin command
The export builtin command
False
The kill builtin command
The let builtin command
The local builtin command
The mapfile builtin command
The printf command
The read builtin command
The readonly builtin command
The return builtin command
The set builtin command
The shift builtin command
The shopt builtin command
Source
Times
The trap builtin command
True
The unset builtin command
The wait builtin command
Dict
Dict
Small Bash- and commandline-related dictionary
Howto
Howto
Calculating with dc
Collapsing Functions
Config files for your script
Dissect a bad oneliner
Editing files via scripts with ed
Small getopts tutorial
Lock your script (against parallel execution)
pax - the POSIX archiver
Illustrated Redirection Tutorial
HOWTO
Testing your scripts
Internals
Internals
List of shell options
Misc
Misc
The Bashphorisms
Readthesourceluke
Shell Humor
Scripting
Scripting
Bash's behaviour
Bash changes
The basics of shell scripting
Debugging a script
Beginner Mistakes
Portability talk
Obsolete
Handling positional parameters
Bash and the process tree
Scripting with style
Terminal codes (ANSI/VT100) introduction
List of Bash online-tutorials
Snipplets
Snipplets
Start
Syntax
Syntax
Arithmetic expressions
Arrays
Basic grammar rules of Bash
Patterns and pattern matching
Parameter expansion
Quotes and escaping
Redirection
Special parameters and shell variables
Words...
Ccmd
Ccmd
Arithmetic evaluation (command)
The C-style for-loop
The case statement
The classic for-loop
The conditional expression
Grouping commands
Grouping commands in a subshell
The if-clause
Bash compound commands
The until loop
User selections
The while-loop
Expansion
Expansion
Arithmetic expansion
Brace expansion
Command substitution
Pathname expansion (globbing)
Expansions and substitutions
Process substitution
Tilde expansion
Word splitting
Grammar
Grammar
Parser exec
Keywords
Keywords
The coproc keyword
User
User
Thebonsai
Thebonsai
Imprint
HOWTO
¶