PARTH MONGA:
Can i set below parameters for bashrc in exam?
echo ‘source /etc/bash_completion’ >> ~/.bashrc
echo ‘source <(kubectl completion bash)’ >> ~/.bashrc
echo ‘alias k=kubectl’ >> ~/.bashrc
echo ‘alias c=clear’ >> ~/.bashrc
echo ‘complete -F __start_kubectl k’ >> ~/.bashrc
sed -i ‘1s/^/force_color_prompt=yes\n/’ ~/.bashrc
PARTH MONGA:
@Tej_Singh_Rana Can you please help on this one
Tej_Singh_Rana:
Hello, @PARTH MONGA
echo 'source /etc/bash_completion' >> ~/.bashrc
echo 'source <(kubectl completion bash)' >> ~/.bashrc
echo 'alias k=kubectl' >> ~/.bashrc
echo 'complete -F __start_kubectl k' >> ~/.bashrc
above parameters are common and needed for exam.
Tej_Singh_Rana:
For more aliases, it depends on you. You are comfortable with it or not.