2018-11-14 19:21:42 +00:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
category-title: Intermediate commands
|
|
|
|
category-page: intermediate
|
|
|
|
tags: change root
|
|
|
|
author: Gianmarco De Vita
|
|
|
|
title: chroot
|
|
|
|
previous-page: pages/cmd/interm/
|
|
|
|
next-page: pages/cmd/interm/
|
|
|
|
---
|
2018-11-14 21:15:38 +00:00
|
|
|
<p>
|
|
|
|
The <code>chroot</code> utility allows you to change its root directory to
|
|
|
|
the one indicated in newroot and, if given, executes the command.</p>
|
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>
|