I use gnu grep for more production and less code:
This is how i found MAC address for active interface.
Change the basic octets to satisfy your needs:And now the limitation:
I create a file
exeption-list.txt with content:12-12-ab-ab-ac-ac
11-22-33-44-55-66
ff-ee-aa-cc-dd-bbAnd the final script for production:
No comments:
Post a Comment