rbash
restricted bash, see <B>bash(1)</B>
TLDR
Start an interactive shell session
$ rbash
Execute a command and then exit
$ rbash -c "[command]"
Execute a script
$ rbash [path/to/script.sh]
Execute a script, printing each command before executing it
$ rbash -x [path/to/script.sh]
Execute commands from a script, stopping at the first error
$ rbash -e [path/to/script.sh]
Read and execute commands from stdin
$ rbash -s
Help
GNU bash, version 5.2.15(1)-release-(x86_64-pc-linux-gnu)
Usage: rbash [GNU long option] [option] ...
rbash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--pretty-print
--rcfile
--restricted
--verbose
--version
Shell options:
-ilrsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCEHPT or -o option
Type `rbash -c "help set"' for more information about shell options.
Type `rbash -c help' for more information about shell builtin commands.
Use the `bashbug' command to report bugs.
bash home page:
General help using GNU software: