💾 Archived View for freeshell.de › tldr › rbash.gmi captured on 2023-09-28 at 16:51:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

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.

rbash
rbash -c "{command}"
rbash {path/to/script.sh}
rbash -x {path/to/script.sh}
rbash -e {path/to/script.sh}
rbash -s
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY