Im using in the command line for 3 commands and I since that I'm doing that over and over again I want to build some script, the problem is like following :
This is what Im doing
1 . cd users/home/d56789/tmp - > tar czf ../fts/runnerer.tar App/
This take about 2 sec
2 . cd users/home/d56789/fts - > cf update-run myBP -p /home/d56789/fts/ -i 4
This take about 8 sec
- cd
users/home/d56789/myapp-> cf push
This take about 30 sec
My question is how can I build script that can do this commands one after other with the needed delay between them ?
sleep 2?