Browse Source

bash: add page

sabour_f 9 years ago
parent
commit
01ab02d1ef
1 changed files with 20 additions and 0 deletions
  1. 20 0
      pages/common/bash.md

+ 20 - 0
pages/common/bash.md

@@ -0,0 +1,20 @@
+# bash
+
+> Bourne-Again SHell
+> `sh`-compatible command line interpreter.
+
+- Start interactive command line interpreter
+
+`bash`
+
+- Execute command passed as parameter
+
+`bash -c {{command}}`
+
+- Run commands from file (script)
+
+`bash {{file}}`
+
+- Run commands from file and print them as they are executed
+
+`bash -x {{file}}`