Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux chroot Command

Linux chroot Command

Linux Command Reference Linux Command Reference

The Linux chroot (short for "change root") command is used to change the root directory.

The chroot command replaces the root directory with the specified target directory.

Syntax

chroot [--help][--version][目的目录][执行指令...]

Parameter Description:

Example

Change the root directory

# chroot /mnt/ls //改变根目录

Linux Command Reference Linux Command Reference