DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Display history of reboots

1 month ago 1 min read www.commandlinefu.com

Summary: This is a summary of an article originally published by CommandLineFu. Read the full original article here →

$ $ journalctl --list-boots # display tabular history of reboots If you need to see a list of the reboots of your system with date and time stamps then on a Linux with systemd you can use (as non-root) the command: journalctl --list-boots This could be useful if you are trying to track when a power outage occurred. An alternative is: /bin/sudo grep "^-" /var/log/boot.log ^ This only shows the boot start date/times while the journalctl command shows a "LAST ENTRY" associated with each "BOOT ID". View this command to comment, vote or add to favourites View all commands by mpb Diff your entire server config at ScriptRock.com

Made with pure grit © 2025 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com