nmcli 命令 Centos/red hat 不能补全
时间:2021-08-26 12:43:15
收藏:0
阅读:24
一、检查是否安装bash-completion包。
rpm -lq bash-completion
提示如下则表示没有安装:
package bash-completion is not installed
提示如下则表示安装好了:
/etc/bash_completion.d /etc/bash_completion.d/redefine_filedir /etc/profile.d/bash_completion.sh /usr/share/bash-completion /usr/share/bash-completion/bash_completion 。。。。。。
二、安装bash-completion包。
yum install bash-completion -y
如果还是无法补全的话,需要reboot 重启下系统,同理centos /red hat 其他命令不能补全也需要安装这个包
原文:https://www.cnblogs.com/alexlv/p/15188791.html
评论(0)