sudo ufw status shows only active code example Example: sudo ufw status status inactive sudo ufw enable