Last active
September 11, 2017 21:46
-
-
Save ntrogers/0395c233fa45410918acd2e3f9f7e1cf to your computer and use it in GitHub Desktop.
[sh - Get Current user] Get currently logged in user #macOS #Bash
This file contains 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