From 07e02f1075b892c8df2582d24b85c6d93ecbb1f8 Mon Sep 17 00:00:00 2001 From: sadboyzvone Date: Tue, 21 Nov 2017 17:28:26 +0100 Subject: [PATCH] dash: add page --- pages/linux/dash.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/dash.md diff --git a/pages/linux/dash.md b/pages/linux/dash.md new file mode 100644 index 0000000000..dada1705b5 --- /dev/null +++ b/pages/linux/dash.md @@ -0,0 +1,20 @@ +# dash + +> Debian Almquist Shell. Roughly 4x times faster than Bash. +> Modern POSIX-compliant implementation of `sh`(isn't Bash compatible). + +- Start interactive shell: + +`dash` + +- Execute a command: + +`dash -c "{{command}}"` + +- Run commands from a file: + +`dash {{file.sh}}` + +- Run commands from a file, logging all commands executed to the terminal: + +`dash -x {{file.sh}}`