$BASH_ALIASES
–
Registered Aliases
$BASH_ALIASES
contains a name-value mapping of the registered aliases.
Links
Examples
- Print names and values of all registered aliases
1 2 3
for name in ${!BASH_ALIASES[@]}; do echo "$name == ${BASH_ALIASES[$name]}" done
BashSupport Pro is a Bash IDE with support for $BASH_ALIASES – try it now!