mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
21 lines
371 B
Markdown
21 lines
371 B
Markdown
![]() |
# 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}}`
|