Skip to content

Instantly share code, notes, and snippets.

@zekizeki
Created March 16, 2018 12:14
Show Gist options
  • Save zekizeki/7cc9acd0ddb839a4a77dac80529bcc7f to your computer and use it in GitHub Desktop.
Save zekizeki/7cc9acd0ddb839a4a77dac80529bcc7f to your computer and use it in GitHub Desktop.
Stop all CloudFoundry apps in a space
cf apps | grep started | awk '{print $1}{system("cf stop " $1)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment