1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 19:02:09 +02:00
tldr/pages/common/rbash.md
2017-11-20 23:07:54 +00:00

362 B

rbash

Restricted Bash shell. Similar to the bash shell with some restrictions like changing directories with cd, setting/unsetting of PATH, ENV variables and others.

  • Start rbash:

rbash

  • Execute a command:

rbash -c "{{command}}"

  • Run commands from a file:

rbash {{file.sh}}

  • Print the version information of rbash:

rbash --version