Przeglądaj źródła

bash: add --version

Waldir Pimenta 8 lat temu
rodzic
commit
9ecfc2bd9d
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      pages/common/bash.md

+ 4 - 0
pages/common/bash.md

@@ -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`