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
|
|
@ -31,3 +31,7 @@
|
|||
- Execute specific commands from `stdin`:
|
||||
|
||||
`{{echo "echo 'bash is executed'"}} | bash`
|
||||
|
||||
- Start a [r]estricted shell session:
|
||||
|
||||
`bash -r`
|
||||
|
|
|
|||
Loading…
Reference in New Issue