Created
May 20, 2015 13:09
-
-
Save kaloprominat/effe375277fe898539b1 to your computer and use it in GitHub Desktop.
os x: bash determine which user active logged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stat -f '%Su' /dev/console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment