dash: add page (#1638)
This commit is contained in:
20
pages/linux/dash.md
Normal file
20
pages/linux/dash.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# dash
|
||||
|
||||
> Debian Almquist Shell.
|
||||
> 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}}`
|
Reference in New Issue
Block a user