rbash: add page (#1634)
This commit is contained in:
20
pages/common/rbash.md
Normal file
20
pages/common/rbash.md
Normal 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`
|
Reference in New Issue
Block a user