Last active
September 21, 2017 09:13
-
-
Save fljdin/fc0b6ade56db0e08ff6e5f25a05ba0ba to your computer and use it in GitHub Desktop.
Display date of last reboot on unix
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
| date -d "$(cut -f1 -d' ' /proc/uptime) seconds ago" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment