Is there a way to use regular expressions and get a list of IP address? In my case, there are aliases defined with numbers in the system for each device interface and I need to fetch the list using aliases. For test systems, all aliases could map to the same device whereas in production it would differ.
For eg., I can have traffic1, traffic2, traffic3, etc., mapped to eth0, eth1.. so on in production. Where as all trafficX could be mapped to eth0 in tests.
Is there a way get the list of all IP address by passing traffic* or something like that?