Login history Mac OS X

% sudo log show --style syslog --last 2d | awk '/Enter/ && /unlockUIBecomesActive/ {print $1 " " $2}'
2d - is a shortcut for a period back in time
Sample Output
2020-05-28 21:49:37.140751+0200
2020-05-28 23:15:00.242348+0200
2020-05-29 11:20:36.974778+0200
2020-05-29 13:59:04.477616+0200
2020-05-29 15:11:21.299773+0200
2020-05-29 17:55:59.941100+0200
2020-05-30 09:12:55.268262+0200

0
By: Repie
2020-05-30 07:27:17

What Others Think

secure payment methods, stunning bonuses, beautiful decoration themes - list of the best online casinos in Australia at our site. check out! https://aufreeslots.com/
Dialletrem · 20 weeks and 6 days ago
<a href="https://paybymobilephonecasino.com/">pay by mobile bill casino</a>
Prours00 · 20 weeks and 3 days ago
If you express that you get all the information while purchasing VPN programming so you can do it viably, then visit our site where you will get the best with every datum. https://www.turnkeyinternetcoupons.blogspot.com/ https://www.theturnkeyinternet.wordpress.com/
martinashley697 · 19 weeks ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best Promo code for stadium goods , please visit out website www.uttercoupons.com.
adam062 · 17 weeks and 1 day ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best TSplus Coupon Code , please visit out website www.uttercoupons.com.
adam062 · 17 weeks and 1 day ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best Carter's Coupon Codes , please visit out website www.uttercoupons.com.
adam062 · 17 weeks and 1 day ago
"I welcome the opportunity to earn your trust and deliver the best service in the industry. I am fully licensed and insured." Drain cleaning san antonio
jughead51 · 15 weeks and 1 day ago
Great post, fun and full of information. But most of all, I like the way you write. https://www.cuponism.com.my
broomhaylie · 12 weeks and 4 days ago
Thank you so much for the great information and i just love reading this content Viva TV Download For Android
VivaTV · 10 weeks and 6 days ago
house removals .. man and van .. Oxford, Oxfordshire
saeed20 · 8 weeks and 1 day ago
youtube" rel="nofollow">www.youtube.com'>youtube www.youtube.com>youtube [url=www.youtube.com]youtube[/url] www.youtube.com [www.youtube.com ](www.youtube.com)
JanetteeTurnerr · 6 weeks and 3 days ago
great content! will recommend this site to my friends
looneyhans · 1 week and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: