mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 23:46:00 +02:00
dash: add page
This commit is contained in:
parent
ea57113b12
commit
07e02f1075
1 changed files with 20 additions and 0 deletions
20
pages/linux/dash.md
Normal file
20
pages/linux/dash.md
Normal file
|
@ -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}}`
|
Loading…
Add table
Reference in a new issue