I've been using Virtualbox for a while now, but the only way I've learned to interact with it is through the graphical interface.
Is there a way for me to send bash commands to the vm through the commandline so that I can write scripts from the host that interact with the guest?
e.g.
$ sendMessage vmName "echo hello"
I am willing to try new virtualization software.
I am currently on a Mac and I would like to run a Linux guest this way.
Edit:
I want to run possibly malicious code to see its behavior. Ideally, I want to disable networking on the guest so that I can be sure the guest is completely isolated.
I was hoping the guest and the host could communicate purely through stdin/stdout.