The question is direct, what does the given command do, and what is it used for?
ifconfig <interface-name> 0.0.0.0
I know that 0.0.0.0 means all IP addresses on my local machine.
Also if I mess up an interface with this command, how do I reset it?