Printing a Prompt
Bash Features
Bash POSIX Mode
If Bash is started with the name rbash, or the
`--restricted'
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 bash
with the exception that the following are disallowed:
cd builtin.
SHELL, PATH,
ENV, or BASH_ENV variables.
.
builtin command.
SHELLOPTS from the shell environment at startup.
>', `>|', `<>', `>&',
`&>', and `>>' redirection operators.
exec builtin to replace the shell with another command.
-f' and `-d' options to the enable builtin.
-p' option to the command builtin.
set +r' or `set +o restricted'.