echo 'alias k=kubectl' >>~/.bashrc echo "alias kb='k0s kubectl'" >>~/.bashrc #命令待测试 source ~/.bashrc