rbash

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 also histexpand for history expansion. More information: <https://www.gnu.org/software/bash/manual/html_node/The-Restricted-Shell>.

Debian Debian
RUN apt-get update && \ apt-get install -y bash
Ubuntu
RUN apt-get update && \ apt-get install -y bash
Alpine
RUN apk add bash
Arch Arch Linux
RUN pacman -S --noconfirm bash
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y bash
CentOS
RUN yum install -y bash
Fedora
RUN dnf install -y bash
Raspbian
RUN apt-get update && \ apt-get install -y bash
click the source code to copy install rbash on any operating system with command-not-found.com