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 current macOS user or use the --user parameter and specify a user name.

--password < password >

The user password

-r , --resolve-paths

Enable converting host paths to guest.