To find the last boot time, can of course do w which will show us how long the system has been up, but to save the mental arithmetic, we can do:
who -b or uptime -s
To find the last shutdown time, we can do:
last -x | grep shutdown or last -x | grep reboot (output varies between distributions)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.