$BASH_COMMAND
–
The Executed Command
$BASH_COMMAND
is the command currently executed or about to be executed.
Links
Examples
- Print the current command
1
echo "Hello, command: $BASH_COMMAND"
BashSupport Pro is a Bash IDE with support for $BASH_COMMAND – try it now!