Back to articles

Simple VirtualBox management from Terminal — Linux

Published: 2026-08-11


I needed to start a VM from terminal today and I thought I better write down how I did that for myself for later.

Quick Reference Cheat Sheet

There’s a bunch more commands in the help or elsewhere. This is meant to be dead-simple.

TaskCommand
List all VMsVBoxManage list vms
List running VMsVBoxManage list runningvms
Show VM detailsVBoxManage showvminfo "VM"
Modify RAMVBoxManage modifyvm "VM" --memory 4096
Modify CPUsVBoxManage modifyvm "VM" --cpus 4
Start VM (GUI)VBoxManage startvm "VM"
Start VM (headless)VBoxManage startvm "VM" --type headless
Graceful shutdownVBoxManage controlvm "VM" acpipowerbutton
Force stopVBoxManage controlvm "VM" poweroff
PauseVBoxManage controlvm "VM" pause
ResumeVBoxManage controlvm "VM" resume
Save stateVBoxManage controlvm "VM" savestate
ResetVBoxManage controlvm "VM" reset
Delete VMVBoxManage unregistervm "VM" --delete

I’d prefer to do more complicated things in the GUI. But even with just the above this makes it easy to at least get them going when you only have ssh access for whatever reason.