Logo Ali Muhammad
    Logo Inverted Logo
    • Posts
    • Linux
      • Quickly stopping all running vagrant instances
    • Python
      • LetsEncrypt bug checker
    • Ansible
      • Roles Collection
    Hero Image
    Quickly stopping all running vagrant instances

    Problem Statement When running several vagrant instances, it can be slightly time consuming to have to individually stop all of them. Solution The snippet below is a bash script that can efficiently stop all running vagrant instances under the user running the script. Note: This script works well on both Linux/Unix and MacOS operating systems. #!/bin/bash -e ### 1\. Script globally checks for all vagrant instances running under the user executing the script.

    May 1, 2020 Read
    Navigation
    • About
    • Skills
    • Experiences
    • Projects
    • Recent Posts
    Contact me:
    • ali@alimuhammad.dev
    • darkwizard242
    • Ali Muhammad

    Toha Theme Logo Ali Muhammad
    © 2022 Copyright.