Forrest logo
back to the ipset tool

ipset:tldr:44548

ipset: Delete a specific IP address from a set.
$ ipset del ${set_name} ${192-168-1-25}
try on your machine

This command is used to delete an IP address from an IP set in an IPset configuration. Here is a breakdown of the command:

  • ipset del: This is the command to remove an entry from an IP set.
  • ${set_name}: This is a placeholder for the name of the IP set from which the IP address needs to be deleted. You need to replace ${set_name} with the actual name of the IP set.
  • ${192-168-1-25}: This is another placeholder for the specific IP address that is to be removed from the set. Again, you need to replace ${192-168-1-25} with the actual IP address you want to delete.

Overall, this command will remove the specified IP address from the specified IP set used in an IPset configuration.

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