Use iPhone headphone microphone with a MacBook Pro
The headphones’ built-in microphone appears as the input device "Microphone port" in the Sound preference pane.
open
command and how I use it to open the current working directory in the Finder.