rbash: add page (#1634)

coverage
Starbeamrainbowlabs 2017-11-20 23:13:32 +00:00 committed by GitHub
commit 780c9f5f92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
pages/common/rbash.md Normal file
View File

@ -0,0 +1,20 @@
# 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`