Path to the Bash Executable

$BASH contains the full path to the current instance of Bash.

Examples

Print absolute path to bash: :

1
echo $BASH

Example output: /bin/bash.

BashSupport Pro is a Bash IDE with support for $BASH – try it now!
© 2020–2022 Joachim Ansorg
Imprint
Privacy Policy
Legal