1
0
Fork 0
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:
KRyTeX1337 2023-06-08 17:04:40 +02:00 committed by GitHub
parent 6b683601f3
commit 1cbe37d410
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`