From 01ab02d1eff7c0739617af79d733a3236e58dca6 Mon Sep 17 00:00:00 2001 From: sabour_f Date: Mon, 4 Jan 2016 20:55:14 +0100 Subject: [PATCH] bash: add page --- pages/common/bash.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/bash.md diff --git a/pages/common/bash.md b/pages/common/bash.md new file mode 100644 index 000000000..4174bd4bf --- /dev/null +++ b/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}}`