Forrest logo
back to the ufw tool

ufw:tldr:08320

ufw: Show ufw rules, along with their numbers.
$ ufw status numbered
try on your machine

The command ufw status numbered is used to display the active firewall rules on a Linux system using the Uncomplicated Firewall (UFW) utility.

Here is a breakdown of the command:

  • ufw: This refers to the UFW utility, which is a front-end firewall configuration tool commonly used on Ubuntu and Debian-based systems.
  • status: This is an argument to the ufw command that specifies that we want to display the status of the firewall.
  • numbered: This is an additional argument to the status command that specifies that we want the output to include rule numbers.

When you run ufw status numbered, it will show a list of active rules with their corresponding numbers. The rule numbers can be useful when managing or manipulating firewall rules.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ufw tool