mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 04:52:58 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
17
tldr/chroot
Normal file
17
tldr/chroot
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# chroot
|
||||
|
||||
> Run command or interactive shell with special root directory.
|
||||
> More information: <https://www.gnu.org/software/coreutils/chroot>.
|
||||
|
||||
- Run command as new root directory:
|
||||
|
||||
`chroot {{path/to/new/root}} {{command}}`
|
||||
|
||||
- Use a specific user and group:
|
||||
|
||||
`chroot --userspec={{username_or_id:group_name_or_id}}`
|
||||
Reference in New Issue
Block a user