每次启动终端时都会出现 kubectl 消息
kubectl message appearing every time when I start the terminal
我已经通过 post 卸载了 minikube,现在每次我打开终端都会出现这条消息:
kubectl: command not found
Command 'minikube' not found, did you mean:
command 'minitube' from deb minitube
Try: sudo apt install <deb name>
我不知道发生了什么。有人可以帮我阻止这条消息出现吗?
您的 ~/.bashrc
文件中可能有同时调用 minikube
or/and kubectl
的条目。只是 edit/remove 那些条目。例如:
vi ~/.bashrc
在 vi
编辑器中:
/kubectl
dd
/minikube
dd
:wq
我已经通过
kubectl: command not found
Command 'minikube' not found, did you mean:
command 'minitube' from deb minitube
Try: sudo apt install <deb name>
我不知道发生了什么。有人可以帮我阻止这条消息出现吗?
您的 ~/.bashrc
文件中可能有同时调用 minikube
or/and kubectl
的条目。只是 edit/remove 那些条目。例如:
vi ~/.bashrc
在 vi
编辑器中:
/kubectl
dd
/minikube
dd
:wq