diff --git a/pages/common/bash.md b/pages/common/bash.md index 2e2aa97c4..1bb7e681d 100644 --- a/pages/common/bash.md +++ b/pages/common/bash.md @@ -9,7 +9,7 @@ - Execute a command: -`bash -c {{command}}` +`bash -c "{{command}}"` - Run commands from a file: @@ -18,3 +18,7 @@ - Run commands from STDIN: `bash -s` + +- Print the version information of bash (use `echo $BASH_VERSION` to show just the version string): + +`bash --version`