you should never be typing full command - you must use autocomplete . Tab and d_ouble Tab_ is your best friends during exam
Setup autocomplete as soon exam starts - open ‘.bashrc’ and add your aliases there - I use ‘nano’ so I added alias for that , as well ‘grep’ and few other and obvious
source <(kubectl completion bash) and one “echo” statement (at the end of file) so I know my bashrc file has been loaded
So my update to .bashrc file looked like this :
alias nano="nano -cmET4"
alias grep="grep -i --color"
source <(kubectl completion bash)
echo "Hello k8s"
Practice adding that to .bashrc file multiple time - in all kodeKloud test I did that - so I just have muscle memory about it .
Without autocomplete it is going to be very difficult to get speed that you must have to finish exam and have time to recheck your answers .
BTW : Even if you use ‘tmux’ or ‘screen’ in exam (which I did not) - your .bashrc file will get loaded there as well so your aliases should work .
Linux emulator Linux foundation uses (gate one) is very friendly it is as good as linux terminal (even better than katakoda one)
Also you should never be writing YAML files manually - either use “kubectl … --dry-run -o yaml” to create it for you or ‘wget’ it from documentation/github .
Be fast with ‘vim’ or ‘nano’ text editor that is quintessential for getting speedy.