Unix/Linux : Get reboot history or check when was the last reboot date
Probably not some command that many people will look for unless you are a system administrator. Ok, so I need to find out when was the last time my instance, droplets, VPS, box rebooted.
To find out, simply issue this command :
> last reboot
reboot system boot 2.6.32-358.6.2.e Mon Mar 3 21:46 - 05:19 (97+06:32)
reboot system boot 2.6.32-358.6.2.e Mon Mar 3 21:30 - 21:46 (00:15)
reboot system boot 2.6.32-358.6.2.e Fri Feb 28 22:49 - 21:46 (2+22:56)
reboot system boot 2.6.32-358.6.2.e Fri Feb 28 22:47 - 21:46 (2+22:58)
hope this short tutorial can be useful to you.
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+11.8k Golang : Perform sanity checks on filename example
+5.9k Golang : Get missing location after unmarshal binary and gob decode time.
+5.2k Golang *File points to a file or directory ?
+10.8k Golang : Roll the dice example
+8.5k Golang : Get final balance from bit coin address example
+14.8k Golang : Accurate and reliable decimal calculations
+6.9k Golang : Transform lisp or spinal case to Pascal case example
+6.9k Golang : Null and nil value
+5.4k Javascript : How to refresh page with JQuery ?
+8.5k Golang : Take screen shot of browser with JQuery example
+8.5k Android Studio : Image button and button example
+6.4k Golang : How to validate ISBN?