Ask Your Question
0

How to know that the computer shutdown or not last time?

asked 2016-04-21 02:43:37 -0500

rajiv gravatar image

Is there any way to know that the last time computer shutdown successfully or not in fedpra-23

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2016-04-21 05:16:45 -0500

pbogu gravatar image

for shutdowns you can check

last -x

for reboots you can check

last reboot
edit flag offensive delete link more
1

answered 2016-04-22 03:48:49 -0500

genodeftest gravatar image

Or run journalctl -b -1 and scroll to the end. Error messages should appear there if anything went wrong.

edit flag offensive delete link more

Comments

how do i exit the terminal after doing journalctl -b -1

rajiv gravatar imagerajiv ( 2016-04-22 06:03:41 -0500 )edit

q for quit

mithrial gravatar imagemithrial ( 2016-04-24 12:53:06 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-04-21 02:43:37 -0500

Seen: 70 times

Last updated: Apr 22 '16