If Bash is started with the name rbash, or the
--restricted option is supplied at invocation,
it is an environment more controlled than the standard shell.
The following are disallowed:
cd builtin.
SHELL or PATH variables.
/usr/sbin/netstat
. 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. Go to the first, previous, next (POSIX), last section, table of contents.