Link Search Menu Expand Document


Debian Almquist Shell, a modern, POSIX-compliant implementation of sh (not Bash-compatible). More information:

  • Start an interactive shell session:


  • Execute specific [c]ommands:

dash -c "{{echo 'dash is executed'}}"

  • Execute a specific script:

dash {{path/to/}}

  • Check a specific script for syntax errors:

dash -n {{path/to/}}

  • Execute a specific script while printing each command before executing it:

dash -x {{path/to/}}

  • Execute a specific script and stop at the first [e]rror:

dash -e {{path/to/}}

  • Execute specific commands from stdin:

{{echo "echo 'dash is executed'"}} | dash