2018-11-14 19:21:42 +00:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
category-page: intermediate
|
2018-11-16 12:47:48 +00:00
|
|
|
category-title: Intermediate commands
|
2018-11-14 19:21:42 +00:00
|
|
|
tags: change root
|
|
|
|
author: Gianmarco De Vita
|
|
|
|
title: chroot
|
2018-11-18 20:38:56 +00:00
|
|
|
previous-page: pages/cmd/interm/cat.html
|
|
|
|
next-page: pages/cmd/interm/curl.html
|
2018-11-14 19:21:42 +00:00
|
|
|
---
|
2018-11-14 21:15:38 +00:00
|
|
|
The <code>chroot</code> utility allows you to change its root directory to
|
2018-11-16 12:47:48 +00:00
|
|
|
the one indicated in newroot and, if given, executes the command.<br>
|
2018-11-14 19:21:42 +00:00
|
|
|
|
|
|
|
<pre>
|
2018-11-14 21:15:38 +00:00
|
|
|
chroot newroot [command]
|
2018-11-14 19:21:42 +00:00
|
|
|
</pre>
|