Delete UFW Rule by Number
Delete a UFW rule by its number in the numbered list.
Removes a UFW rule by number (from ufw status numbered). Using numbers is more reliable than repeating the rule text, especially for complex from/to rules.
When you need this: When revoking a port or IP rule that is no longer needed.
Variables
Command
9 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.