Time stamp of last boot
I have been trying to determine the best way to get a full timestamp for the last time of system startup (in Terminal.)
I pulled the timestamp from
“ls -1lnUT /var/run/utmpx”
Is there a better method, or, is there a situation where this method would not work?
Thank you in advance.
who -b
Your example appears to report the same time:
iMac06:~ john$ who -b
reboot ~ Sep 2 15:49
iMac06:~ john$ ls -1lnUT /var/run/utmpx
-rw-r--r--@ 1 0 1 4396 Sep 2 15:49:34 2017 /var/run/utmpx
iMac06:~ john$
最後更新:2017-09-08 09:10:26
上一篇:
Split view with new document replacing one side
下一篇:
Sierra Upgrade In
Macbook Pro firmware question
How do I install Sierra WITHOUT having to insta...
MBP Massive Trackpad
My purchases in itunes store are not showing up
Running 2 Monitors Through USB
Can you get split view on iPad mini?
Is there a reason why the 4th generation ipad d...
What is needed to power a MacBook Pro in Italy?
where can i find a lost of my paod apps so i ca...
Apple pen
相關內容
"com.apple.installer.pagecontroller error
any idea what error 3503 is?
Underallocation Detected on Main device
The operation couldn’t be completed. (BKA...
is ctoid.exe a virus on my ipad safari browser?
iTunes Error: Declined to authorize this image ...
Keep High Efficiency Original if Available Chec...
iTunes 12.7 cannot edit playlist
High Sierra Stuck & Decryption paused
Need to unlock iphone 5 to reactivate the phone...
熱門內容
Christian Music Removed From Itunes
I'm being billed twice every month for Apple Mu...
iMac running slow
Fix disappearing album art after moving iTunes
Activation Locked iWatch
Can I change the iwatch to miles instead of kil...
I keep seeing the "You don't have permission to...
can't read any menus macbook air
iPad 2, iOs9.3, taking days to restore
charges made under itune memeberships