=head2 Remote control
- eval `guestfish --listen`
+ eval "`guestfish --listen`"
guestfish --remote add-ro disk.img
guestfish --remote run
guestfish --remote lvs
Start a guestfish server process using:
- eval `guestfish --listen`
+ eval "`guestfish --listen`"
and then send it commands by doing:
which is how the I<--remote> option knows where to send the commands.
You can have several guestfish listener processes running using:
- eval `guestfish --listen`
+ eval "`guestfish --listen`"
pid1=$GUESTFISH_PID
- eval `guestfish --listen`
+ eval "`guestfish --listen`"
pid2=$GUESTFISH_PID
...
guestfish --remote=$pid1 cmd