activate ubuntu firewall code example
Example 1: firewall status on ubuntu
$ sudo ufw status
[sudo] password for linuxconfig:
Status: inactive
Example 2: disable ufw
$ sudo ufw status
Status: inactive
$ sudo ufw status
[sudo] password for linuxconfig:
Status: inactive
$ sudo ufw status
Status: inactive