Browse Source

bash: add --version

Waldir Pimenta 8 years ago
parent
commit
9ecfc2bd9d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/bash.md

+ 4 - 0
pages/common/bash.md

@@ -18,3 +18,7 @@
 - Run commands from STDIN:
 - Run commands from STDIN:
 
 
 `bash -s`
 `bash -s`
+
+- Print the version information of bash (use `echo $BASH_VERSION` to show just the version string):
+
+`bash --version`