How to check Linux last reboot time?
Tagged: linux
Viewing 1 post (of 1 total)
- AuthorPosts
- September 14, 2020 at 10:31 PM #3904
Santhosh Kumar D
Keymaster@santhoshWe can use the
who
command with the-b
flag 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 reboot
command. This gets the information from the/var/log/wtmp
file.$ 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.
- AuthorPosts
Viewing 1 post (of 1 total)
Advertisement
RECENT TIPS
- 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?