Skip to content

Instantly share code, notes, and snippets.

@sianios
sianios / vb.sh
Created March 5, 2015 13:17
Simple bash script to manage Headless VM with VirtualBox
#!/bin/bash
usage="Usage: ./vb.sh [option] [VM name]"
options="
Options:
list List available virtual machines
running List running virtual machines
start Start virtual machine
stop Send shutdown signal to OS to shutdown machine