A challenge for Techies

Hey guys!
So Radio Shack is going out of business (Yes the whole company) so i decided do buy an $40 mic for $10. But apparently, this microphone comes up as Headphones :laughing:
Can anyone find a way to write a bash command to switch an output as an input for a macbook?

This reference will probably help: http://www.hackmac.org/articles/bash/bash-101-input-and-output-redirection/

Anything will help :3 thanks!