瀏覽代碼

bash: add --version

Waldir Pimenta 8 年之前
父節點
當前提交
9ecfc2bd9d
共有 1 個文件被更改,包括 4 次插入0 次删除
  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`