Printing a Prompt Bash Features Bash POSIX Mode
If Bash is started with the name
rbash, or the
option is supplied at invocation, the shell becomes restricted.
A restricted shell is used to
set up an environment more controlled than the standard shell.
A restricted shell behaves identically to
with the exception that the following are disallowed:
SHELLOPTSfrom the shell environment at startup.
&>', and `
>>' redirection operators.
execbuiltin to replace the shell with another command.
-f' and `
-d' options to the
-p' option to the
set +r' or `
set +o restricted'.