In today’s post we are going to find out the last reboot time in Linux from the CLI.
- Shell environment
Option 1. The
last reboot command.
last reboot -1
reboot system boot 4.15.0-171-gener Fri Mar 11 02:29 still running wtmp begins Tue Mar 1 07:27:31 2022
Option 2. The
system boot 2022-03-11 02:29
If you can think of any other alternative command, please do let me know in the comment section below. On a side note, follow our official channel on Telegram.