Skip to content

Instantly share code, notes, and snippets.

@dmarmugi
Created August 23, 2017 20:15
Show Gist options
  • Save dmarmugi/f70231ec8b4f85d150d6a285533a702a to your computer and use it in GitHub Desktop.
Save dmarmugi/f70231ec8b4f85d150d6a285533a702a to your computer and use it in GitHub Desktop.
Stop all Cloud Foundry apps in a space
cf apps | grep started | awk '{print $1}{system("cf sp " $1)}'
@extrajulius
Copy link

Hi, @harishbab, you can see my comment and replace the variables with the ones from point 2 so that you start the stopped apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment