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:
@@ -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`
|
||||||
|
Reference in New Issue
Block a user