From 1cbe37d41032da217aa5557db8c5b1a9d1cebd25 Mon Sep 17 00:00:00 2001 From: KRyTeX1337 Date: Thu, 8 Jun 2023 17:04:40 +0200 Subject: [PATCH] bash: add restricted shell command (#10325) * Update bash.md * Update pages/common/bash.md --------- Co-authored-by: K.B.Dharun Krishna --- pages/common/bash.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/bash.md b/pages/common/bash.md index 2eb1dbdf9..71ea7e7df 100644 --- a/pages/common/bash.md +++ b/pages/common/bash.md @@ -31,3 +31,7 @@ - Execute specific commands from `stdin`: `{{echo "echo 'bash is executed'"}} | bash` + +- Start a [r]estricted shell session: + +`bash -r`