Skip to content

Commit

Permalink
Merge pull request #598 from gautamkrishnar/patch-2
Browse files Browse the repository at this point in the history
Create chroot.md
  • Loading branch information
felixonmars committed Jan 8, 2016
2 parents c066ac0 + ac6db5d commit efa4cbd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pages/linux/chroot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# chroot

> Run command or interactive shell with special root directory.
- Run command as new root directory

`chroot {{/path/to/new/root}} {{command}}`

- specify user and group (ID or name) to use

`chroot −−userspec={{user:group}}`

0 comments on commit efa4cbd

Please sign in to comment.