- Red Hat Enterprice Linux 7
- Auto tab completion does not work with nmcli on RHEL7.
- On pressing tab with
nmclicommand, it shows list of files available in present directory instead of showing
- Upon pressing tab,
nmclicommand should show available options as below.
$ nmcli connection device general help networking radio
bash-completionpackage, mostly it should be installed by default. Install it and restart shell.
# yum -y install bash-completion
- As bash-completion tool was missing, auto completion wont work.
- Check whether
bash-completionpackage is installed.
# rpm -qa | grep bash-completion
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.