Common VirtualBox commands

Source: Internet
Author: User


Common commands of VirtualBox in Linux are used to create virtual machines for dishes who are new to VirtualBox through a graphical interface, which is easier for those who have used Windows, however, after creating a VM, we need to use commands on the host machine to monitor various VMS. The following describes several frequently-used commands that I have used: 1. view existing VMS # view all VMS [root @ hpctest ~] # Vboxmanage list vms "RHEL5.6 _ for_HPC2.1" {a6f73f9a-4f78-4b63-9a96-faa235989633} "RHEL6.1 _ detail" {detail} "RHEL6.1 _ for_HPC3.1" {b77e85bc-3f1b-4333-8369-4685a70d6a33} "CentOS6U2" {detail} "RHEL6.1 _ for_HPC3.2 "{ 2469af71-c5f6-443a-97b9-ed8ad723e0e5} # view the currently running VM www.2cto.com [root @ hpctest ~] # Vboxmanage list runningvms "CentOS6U2" {19d08d91-1bf8-49e3-ada8-b7c99c4ad24c} "RHEL6.1 _ for_HPC3.2" {region} 2. to start a VM, you need the name or UUID of the VM (something in the above {}) [root @ hpctest ~]. # Vboxmanage startvm "RHEL6.1 _ for_HPC3.1" Waiting for VM "RHEL6.1 _ for_HPC3.1" to power on... VM "RHEL6.1 _ for_HPC3.1" has been successfully started.3. stop a VM. vboxmanage can only be stopped by the Poweroff command, which is equivalent to directly shutting down the power supply. If there is a running program on the VM, it is best not to execute this command [root @ hpctest ~] # Vboxmanage controlvm "RHEL6.1 _ for_HPC3.1" poweroff0 %... 10%... 20%... 30%... 40%... 50%... 60%... 70%... 80%... 90%... 100% the commands I have used will be updated in the future. Of course, the best way is to directly look at help or man's author DanielXLee.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.