Is it possible to access the current user's name and email address from the command line in OS X? If so, how would it be done?
id -F will display the full name of the current user. id is a BSD replacement for whoami, which will be more portable than using osascript.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With