tldr/pages/linux/dash.md

21 lines
336 B
Markdown
Raw Normal View History

2017-11-21 16:28:26 +00:00
# dash
2017-11-22 07:15:57 +00:00
> Debian Almquist Shell.
2017-11-21 16:28:26 +00:00
> 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}}`