Create your script file, make it executeable and add it to your .gitignore as it contains sensitive information:
touch login.sh chmod +x login.sh echo login.sh >> .gitignore
Open the file and paste the following:
#! /bin/bash cf login <<! email@example.com password 1 !
With the number “1” you can select your target space. Save your script and run it using: