Hello Everyone, Just a quick dummy question 😔, does command `TAB autocom . . .

Krishan:
Hello Everyone, Just a quick dummy question :pensive:, does command TAB autocomplete works in the exam?

Tej_Singh_Rana:
Hello, @Krishan
It works in the exam but have to know how to do if it’s not set in the exam.
https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-autocomplete

Tej_Singh_Rana:
bash-completion package should be installed first because it’s important for auto-completion, if it’s not available then please install it first.
https://kubernetes.io/docs/tasks/tools/install-kubectl/#optional-kubectl-configurations

Roshan Ranasinghe:
@Krishan it works… but make sure to run first four lines of this cheatsheet
https://kubernetes.io/docs/reference/kubectl/cheatsheet/

Krishan:
Thanks everyone. Without knowing what you have mentioned above, I would have been in a big trouble.

Krishan:
A quick clarification, which means say if I type kubectl get nodes node01 --show- and they press entry I will get the complete output (available suggestion) like kubectl get nodes node01 --show-labels right?

Krishan:
Just want to make my self correct, whether should I keep remember entire parameter name like --show-labels, --no-headers etc.

Roshan Ranasinghe:
no. type one more character … here simple L " l " then tab once… then it will complete… otherwise tab twice , it suggests next available words to select

Krishan:
Thanks a lot @Roshan Ranasinghe