Linux chroot Command
Linux chroot (full English name: change root) command is used to change the root directory.
The chroot command changes the root directory to the specified target directory.
Syntax
chroot [--help][--version][目的目录][执行指令...]
Parameter Description:
- --help: Online help.
- --version: Displays version information.
Examples
Change the root directory
# chroot /mnt/ls //改变根目录Other Extensions
Linux Command Encyclopedia