Skip to content

Instantly share code, notes, and snippets.

@laetrid
Created September 1, 2016 15:43
Show Gist options
  • Save laetrid/2c83d5378618dd5701563c0ce989ffe5 to your computer and use it in GitHub Desktop.
Save laetrid/2c83d5378618dd5701563c0ce989ffe5 to your computer and use it in GitHub Desktop.
How to destroy all Vagrant's VM
for i in $(vagrant global-status | grep running | awk '{ print $1 }'); do vagrant destroy -f $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment