Kubernetes kubectl command automatic completion
Linux Command completion # centos yum install-y bash-completion# Ubuntu apt install bash-completion# effective Command completion source / usr/share/bash-completion/bash_completion # mac $brew install bash-completion# effective Command completion $source $(brew-- prefix) / etc/bash_completion # can test docker and many other commands such as docker tab build [root@node02 ~] # dockerattach config create exec history import kill Logout node port push rm save service stats system trust versionbuild container diff export image info load logs pause ps rename rmi search stack stop tag unpause volumecommit cp events help images inspect login network plugin Pull restart run secret start swarm top update waitkubectl command completes # linuxsource > ~ / .bashrc # or echo "source