Bash: Difference between revisions
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
=bash Script Library= | =bash Script Library= | ||
* [[Bash Processing of Command Line Parameters that Include Spaces|Processing of Command Line Parameters that Include Spaces]] | |||
* [[Bash Command Line Options Processing|Command Line Options Processing]] | |||
* [https://github.com/ovidiuf/templates/blob/master/bash.shlib Common bash functions (bash.shlib)] | * [https://github.com/ovidiuf/templates/blob/master/bash.shlib Common bash functions (bash.shlib)] | ||
* [https://github.com/ovidiuf/templates/blob/master/gradle.shlib Common Gradle wrapper functions (gradle.shlib)] | * [https://github.com/ovidiuf/templates/blob/master/gradle.shlib Common Gradle wrapper functions (gradle.shlib)] | ||
Line 47: | Line 49: | ||
* [[Bash script that reports the number of threads of a Java process|Report the number of threads of a Java process]] | * [[Bash script that reports the number of threads of a Java process|Report the number of threads of a Java process]] | ||
* [[Bash script that generates a random MAC address|Generate a random MAC address]] | * [[Bash script that generates a random MAC address|Generate a random MAC address]] | ||
* [[Bash Repeat a Command Until it Succeeds or a Timeout Occurs|Repeat a Command Until it Succeeds or a Timeout Occurs]] | * [[Bash Repeat a Command Until it Succeeds or a Timeout Occurs|Repeat a Command Until it Succeeds or a Timeout Occurs]] | ||
* [[Bash_read#Confirmation_to_Proceed|Interactively Read Input from stdin]] | * [[Bash_read#Confirmation_to_Proceed|Interactively Read Input from stdin]] | ||
* [[Bash_Variables#Booleans|Recommended pattern for boolean values in scripts]] | * [[Bash_Variables#Booleans|Recommended pattern for boolean values in scripts]] | ||
Revision as of 19:02, 13 May 2019
External
Installation
Subjects
- Concepts
- bash Variables
- bash Built-In Variables
- Command Line Expansion
- Input/Output
- bash Expressions
- bash Arrays
- Numbers and Arithmetic in bash
- File Name Handling in bash
- bash Script Debugging
- Functions
- Command Substitution
- Process in Background
- Unit Testing for bash
- Handling Signals in bash
Built-In Commands
set | for | printf | if | declare | typeset | type | read | shift test | eval |
bg | fg | jobs |
External Commands
tail |
bash Script Library
- Processing of Command Line Parameters that Include Spaces
- Command Line Options Processing
- Common bash functions (bash.shlib)
- Common Gradle wrapper functions (gradle.shlib)
- Common Maven wrapper functions (maven.shlib)
- Report the number of threads of a Java process
- Generate a random MAC address
- Repeat a Command Until it Succeeds or a Timeout Occurs
- Interactively Read Input from stdin
- Recommended pattern for boolean values in scripts