theshell.ch/site/pages/cmd/interm/chroot.html

17 lines
435 B
HTML
Raw Normal View History

---
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/
---
<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>
<pre>
Device-name:Current-position username$ chroot newroot [command]
</pre>