mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
bash: parity with sh
This commit is contained in:
parent
a8150aafd2
commit
8aaaec66c1
1 changed files with 6 additions and 6 deletions
|
@ -3,18 +3,18 @@
|
|||
> Bourne-Again SHell.
|
||||
> `sh`-compatible command line interpreter.
|
||||
|
||||
- Start interactive command line interpreter:
|
||||
- Start interactive shell:
|
||||
|
||||
`bash`
|
||||
|
||||
- Execute command passed as parameter:
|
||||
- Execute a command:
|
||||
|
||||
`bash -c {{command}}`
|
||||
|
||||
- Run commands from file (script):
|
||||
- Run commands from a file:
|
||||
|
||||
`bash {{file}}`
|
||||
`bash {{file.sh}}`
|
||||
|
||||
- Run commands from file and print them as they are executed:
|
||||
- Run commands from STDIN:
|
||||
|
||||
`bash -x {{file}}`
|
||||
`bash -s`
|
||||
|
|
Loading…
Add table
Reference in a new issue