Qrexec Commands

Hello,

What Qrexec commands would be necessary to delete files in the directory of an appVM?

Thank you

From where? From dom0 or another qube?
From dom0:
qvm-run -p <qube> 'rm /path/to/files/'

From another qube:
Set the policy in /etc/qube-rpc/policy/qubes.VMShell to allow the
dangerous action.

qvm-run-vm <qube> 'rm /path/to/files/'

I cant stress enough that the latter is dangerous and should not be
encouraged.

Hi,

Thank you for your response. How did you find this answer?

Thank you

qvm-run is a core utility in dom0.
You can find details, on these and other utilities, at:
https://www.qubes-os.org/doc/tools/