'ufw status' vs 'service ufw status'
By Jessica Wood •
service ufw status says ufw is active, while ufw status says ufw is "inactive". Why are ufw status results different? If each result has different meaning, please explain each meaning and difference.
1 Answer
service ufw status (Active) states that the service of ufw (its daemon) is running in the background and is ready to work. in newer versions of Ubuntu its equivalent is:
systemctl status ufwufw status talks about the ufw itself, it says what the daemon (if it is active) is doing. By saying it's "inactive", it means firewall does nothing (however it's still living in the background and is ready to be enabled).
- Service: Active, UFW: Active: I'm here and I'm doing my job.
- Service: Active, UFW: Inactive: I'm here and I'm doing nothing.
More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"