virt-edit - Edit a file in a virtual machine    virt-edit
[--options] -d domname file [file ...]   virt-edit [--options]
-a disk.img [-a disk.img ...] file [file ...]   virt-edit [-d
domname|-a disk.img] file -e 'expr'    virt-edit domname file
virt-edit disk.img [disk.img ...] file   You must not use virt-
edit on live virtual machines. If you do this, you risk disk
corruption in the VM. virt-edit tries to stop you from doing
this, but doesn't catch all cases.   virt-edit is a command line
tool to edit file where each file exists in the named virtual
machine (or disk image).  Multiple filenames can be given, in
which case they are each edited in turn. Each filename must be a
full path, starting at the root directory (starting with '/').
If you want to just view a file, use virt-cat(1).  For more
complex cases you should look at the guestfish(1) tool (see
"USING GUESTFISH" below).  virt-edit cannot be used to create a
new file. guestfish(1) can do that and much more.   Edit the
named files interactively: