Skip to content

Instantly share code, notes, and snippets.

@sebnash
Created October 1, 2012 11:22
Show Gist options
  • Save sebnash/3811050 to your computer and use it in GitHub Desktop.
Save sebnash/3811050 to your computer and use it in GitHub Desktop.
One-liner: OS X currently logged-on user
who | awk '/console/{print $1}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment