how to disable ufw in ubuntu 18.04 code example
Example 1: disable ufw
$ sudo ufw disable
Firewall stopped and disabled on system startup
Example 2: disable ufw
$ sudo ufw status
Status: inactive
$ sudo ufw disable
Firewall stopped and disabled on system startup
$ sudo ufw status
Status: inactive