$BASH_COMMAND  –  The Executed Command

$BASH_COMMAND is the command currently executed or about to be executed.

Examples

Print the current command
1
echo "Hello, command: $BASH_COMMAND"
BashSupport Pro is a Bash IDE with support for $BASH_COMMANDtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal