nft
Verified for current stable LTS
Nft Command: Show Rule Handles
Use for show rule handles with Nft. Exact CLI syntax to show rule handles using Nft.
When to use this: Use for show rule handles with Nft.
Command Syntax
sudo nft --handle --numeric list chain <family> <table> <chain> sudo nft --handle --numeric list chain <family> <table> <chain> Live Command Builder
Final Command
sudo nft --handle --numeric list chain <family> <table> <chain> Command Breakdown
--handle- Command Option
- Tool-specific option used by this command invocation.
--numeric- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to show rule handles using Nft.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Nft Command: Add Chain Accept Inbound Traffic
sudo nft add chain <inet> <filter> <input> \{ type <filter> hook <input> priority <0> \; policy <accept> \; \} Nft Command: Add Nat Rule Translate Subnet sudo nft add rule <nat> <postrouting> ip saddr <192.168.0.0/24> <masquerade> Nft Command: Add New Table Inet Filter sudo nft add table <inet> <filter> Nft Command: Add Rule Accept Tcp Ports sudo nft add rule <inet> <filter> <input> <tcp> {{dport \{ telnet, ssh, http, https \} accept}} Nft Command: Delete Nft Rule sudo nft delete rule <inet> <filter> <input> handle <3>