Skip to content

Commit

Permalink
rbash: add page (tldr-pages#1634)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrl authored Nov 20, 2017
2 parents f853a59 + ea57113 commit 780c9f5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pages/common/rbash.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit 780c9f5

Please sign in to comment.