[ Prev ] [ Index ] [ Next ]

Built-in

Created Mittwoch 29 Januar 2020


Bash has built-in variables.


$?

Command return value.


${BASH_SOURCE[0]}

or $BASH_SOURCE
$BASH_SOURCE is a short to access the 0 element of the array $BASH_SOURCE.
Path to the containing script.