Firewall command line configuration tool firewall-cmd command automatic completion method

        When using the command line configuration tool, pressing the tab key to automatically complete will greatly improve efficiency. However, if bash-completion is missing, even if automatic completion is available in bash, no prompt will be given in the firewall command line configuration tool. As shown below:

Install yum install bash-completion

 After the installation is complete, type the command again and find that it can be automatically completed.

Brings great convenience to work 

Guess you like

Origin blog.csdn.net/superfreeman/article/details/122008230