Linux chroot command
Linux chroot command to change the root directory.
chroot (change root) command to the root directory into the specified destination directory.
,grammar
chroot [--help][--version][目的目录][执行指令...]
Parameter Description:
- --help online help.
- --version display version information.
Examples
Change the root directory
# chroot /mnt/ls //改变根目录