Restricted Bash shell, equivalent to
bash --restricted. Does not permit changing the working directory, redirecting command output, or modifying environment variables, among other things. See alsohistexpandfor history expansion. More information: https://www.gnu.org/software/bash/manual/html_node/The-Restricted-Shell.
rbash
rbash -c "{{command}}"
rbash {{path/to/script.sh}}
rbash -x {{path/to/script.sh}}
rbash -e {{path/to/script.sh}}
stdin:rbash -s