Previous page

Next page

Locate page in Contents

Execute a command in a virtual machine

prlctl exec < vm_id | vm_name > < command >

Executes a command inside a virtual machine. Parallels Tools must be installed in the virtual machine. Commands in Linux guests are invoked with bash -c.

Optional parameters

--current-user or --user < user_name >

Include the --current-user option to log in as the user currently logged in inside the guest OS; or use the --user parameter and specify a user name.

--password < password >

The user password

-r , --resolve-paths

Enable converting host paths to guest.