mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:22:08 +02:00
bash: add restricted shell command (#10325)
* Update bash.md * Update pages/common/bash.md --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
6b683601f3
commit
1cbe37d410
1 changed files with 4 additions and 0 deletions
|
@ -31,3 +31,7 @@
|
||||||
- Execute specific commands from `stdin`:
|
- Execute specific commands from `stdin`:
|
||||||
|
|
||||||
`{{echo "echo 'bash is executed'"}} | bash`
|
`{{echo "echo 'bash is executed'"}} | bash`
|
||||||
|
|
||||||
|
- Start a [r]estricted shell session:
|
||||||
|
|
||||||
|
`bash -r`
|
||||||
|
|
Loading…
Add table
Reference in a new issue