virtualbox manager command a small note

  1. virtualbox virtual machine control
VBoxManage list runningvms
  1. Lists the virtual machines running (return name and UUID):
VBoxManage list runningvms
  1. Stop running VMs by "hibernating" them (reommended to avoid data loss)
VBoxManage controlvm <name|uuid> savestate
  1. Poweroff running VMs (not recommended because we may lose data in the guest)
VBoxManage controlvm <name|uuid> poweroff
  1. How to start and stop VirtualBox guests via command line
  2. Shutting down all VirtualBox (vagrant) VMs in one easy to use bash command (that can be put into a bash file)

  3. Start vm

VBoxManage startvm "VM name" --type headless
  1. How to start a Virtualbox machine via command line (without GUI)?

VBoxManage guestproperty enumerate "Ubuntu 16.04"

How to open a terminal in Ubuntu running on virtual box if the usual shortcuts don't work

Guess you like

Origin www.cnblogs.com/fsong/p/11260071.html