Need to list Orgs and Spaces in Cloud Foundry
问题 I am thinking to write a unix shell script to list orgs and spaces associated with it in Cloud Foundry. But had issues, as we can list spaces associated with an org only after targeting it. I cannot target 2 Orgs at a time using : for i in Org1 Org2 ; do cf target -o $i ; done Hence, if i put all the orgs in a text file and like this : for i in cat Orgs.txt ; do cf spaces $i ; done Please suggest your views. Thank you! 回答1: The cf org command will show information about an organization,