Forrest logo
tool overview
On this page you find all important commands for the CLI tool dash. If the command you are looking for is missing please ask our AI.

dash

Dash is a command line tool used in Unix-like operating systems, particularly Debian-based distributions like Ubuntu. It refers to the Debian Almquist shell, designed as a lightweight and efficient alternative to the more feature-rich bash shell.

Dash aims to be POSIX-compliant, following the standards set by the POSIX shell specification. It is intended for scripting purposes rather than interactive use, making it popular for system scripts and startup scripts where speed and efficiency are crucial.

Compared to bash, Dash has a smaller memory footprint and faster startup time, resulting in improved performance for scripts. It provides a simpler and more streamlined set of features, but lacks certain interactive functionalities found in more robust shells. Consequently, it may not be ideal for users who require complex scripting capabilities or advanced interactive features.

List of commands for dash:

  • dash:tldr:23161 dash: Execute specific [c]ommands.
    $ dash -c "${echo 'dash is executed'}"
    try on your machine
    explain this command
  • dash:tldr:54e0c dash: Check a specific script for syntax errors.
    $ dash -n ${path-to-script-sh}
    try on your machine
    explain this command
  • dash:tldr:5d4f0 dash: Execute a specific script and stop at the first [e]rror.
    $ dash -e ${path-to-script-sh}
    try on your machine
    explain this command
  • dash:tldr:9f2a5 dash: Execute a specific script while printing each command before executing it.
    $ dash -x ${path-to-script-sh}
    try on your machine
    explain this command
  • dash:tldr:b671e dash: Execute a specific script.
    $ dash ${path-to-script-sh}
    try on your machine
    explain this command
  • dash:tldr:b999a dash: Start an interactive shell session.
    $ dash
    try on your machine
    explain this command
tool overview