=head2 As an interactive shell
$ guestfish
-
+
Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.
-
+
Type: 'help' for help with commands
'quit' to quit the shell
-
+
><fs> help
=head2 As a script interpreter
#!/usr/bin/guestfish -f
alloc /tmp/output.img 10M
run
- sfdisk /dev/sda 0 0 0 ,
+ part-disk /dev/sda mbr
mkfs ext2 /dev/sda1
=head2 Remote control