Forrest logo
back to the ipset tool

ipset:tldr:1f316

ipset: Destroy a specific IP set.
$ ipset destroy ${set_name}
try on your machine

The "ipset destroy" command is used to delete an IPset, which is a data structure used in the Linux kernel for efficiently storing and managing a large set of IP addresses, networks, and ports.

In this specific command, "${set_name}" is a placeholder for the name of the IPset that you want to destroy. You need to replace "${set_name}" with the actual name of the IPset.

The command "ipset destroy ${set_name}" will remove the IPset from the system, permanently deleting all the IP addresses, networks, or ports that were stored in that set. This action is irreversible, so it is important to be cautious when using this command.

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 ipset tool