tldr/pages/common/rbash.md

21 lines
362 B
Markdown
Raw Normal View History

2017-11-16 21:40:05 +00:00
# rbash
2017-11-16 21:46:57 +00:00
> Restricted Bash shell.
2017-11-20 23:07:54 +00:00
> Similar to the `bash` shell with some restrictions like changing directories with `cd`, setting/unsetting of PATH, ENV variables and others.
2017-11-16 21:40:05 +00:00
- 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`