Extend shell script
Just add some more stuff
Start file
helm uninstall -n pcc-1 pcc-1
kubectl delete ns pcc-1
cd ~/helm-install/pcc-1/
./helm-install-1.6.sh
End file
helm uninstall -n pcc-1 pcc-1
helm uninstall -n pcg-1 pcg-1
helm uninstall -n pcg-2 pcg-2
kubectl delete ns pcc-1
kubectl delete ns pcg-1
kubectl delete ns pcg-2
cd ~/helm-install/pcc-1/
./helm-install-1.6.sh
cd ~/helm-install/pcg-1/
./helm-install-1.1.sh
cd ~/helm-install/pcg-2/
./helm-install-1.1.sh
View Diff
1a2,3
> helm uninstall -n pcg-1 pcg-1
> helm uninstall -n pcg-2 pcg-2
2a5,6
> kubectl delete ns pcg-1
> kubectl delete ns pcg-2
4a9,12
> cd ~/helm-install/pcg-1/
> ./helm-install-1.1.sh
> cd ~/helm-install/pcg-2/
> ./helm-install-1.1.sh
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 46 remaining solutions by signing in and submitting your own entry
#47 David W. / @BigWangTheory1 - Score: 253 - 12/11/22 @ 06:10
ohelm uninstall -n pcg-1 pcg-1<Esc>ohelm uninstall -n pcg-2 pcg-2<Esc>jjkokubectl delete ns pcg-1<CR>kubectl delete ns pcg-2j<Esc>xj0ddpuPPPuujppjkkddPjPujpuPjPujpjjkkkkjjkwwwwwwwC<Esc>u0wwwwwwCpcg-1/<CR><BS><Esc>jhh<BS>r1jkkjjjklllxggj11G00$eEEBBBbeeeeeeeeeig<Esc>cgCCg-2/<Esc>jbbbc1<CR>1<CR>c<CR>r1ZZ
0 comments