How to check Linux last reboot time?
- September 14, 2020 at 10:31 PM #3904Santhosh Kumar DKeymaster@santhosh
We can use the
whocommand with the
-bflag to check Linux last reboot date and time. Root privileges are not necessary to perform this check.
$ who -b system boot 2020-08-29 06:39
To check the date and time of all previous Linux system reboots, we can use the
last rebootcommand. This gets the information from the
$ last reboot reboot system boot 4.15.0-117-gener Mon Sep 14 16:54 still running reboot system boot 4.15.0-117-gener Mon Sep 14 16:51 - 16:54 (00:02) reboot system boot 4.15.0-117-gener Mon Sep 14 16:49 - 16:51 (00:01) wtmp begins Mon Sep 7 04:31:42 2020
Learn more Linux commands.
- How to send email as an alias in Gmail?
- How to stop Google from tracking your location?
- Command to check the Ubuntu version
- How to add a percentage in Excel?
- How to convert currencies in Google Sheets?
- How to voice type on Google Docs?
- What is Django framework?
- How to turn Google Assistant off?
- How to check the Python version?
- How to create a virtual environment in Python?
- How to change the directory in the Command Prompt?
- How to add a shortcode in WordPress PHP template file?
- Useful websites to research stocks
- How to check Linux uptime?
- How to check Linux last reboot time?