chroot problem
Hello,
I want to do a command with chroot and append the output to a file in the chrooted environment. For example this command: chroot /mnt/test ls >> file.log This appends the ls output to file.log in the current filesystem, not in the chrooted, and I want the opposite. Any ideia how to do it without going first to the chrooted environment and execute the command inside? Thanks. |
Quote:
cd /mnt/test ls >> file.log or ls /mnt/test >> /mnt/test/file.log |
All times are GMT -5. The time now is 04:10 AM. |