mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 20:42:23 +03:00
rbash: add page
This commit is contained in:
parent
ced7343ea0
commit
4dc0202460
32
pages/common/rbash.md
Normal file
32
pages/common/rbash.md
Normal file
@ -0,0 +1,32 @@
|
||||
# rbash
|
||||
|
||||
> Restricted Bash shell
|
||||
> Restrictions implemented in rbash
|
||||
> cd command
|
||||
> PATH and ENV (setting/unsetting)
|
||||
> Importing function
|
||||
> Specifying file name containing argument ‘/’
|
||||
> Specifying file name containing argument ‘-‘
|
||||
> Redirecting output using ‘>‘, ‘>>‘, ‘>|‘, ‘<>‘, ‘>&‘, ‘&>‘
|
||||
> Turning off restriction using ‘set +r‘ or ‘set +o‘
|
||||
|
||||
- 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`
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user