Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Subtracting 20 days and 4:41 as reported by uptime from the current date/time (Dec 2 19:25) gives you Nov 12 14:44, and the one minute difference between that and who -b is probably just due to the seconds getting truncated or rounded.

The start of wtmp does not match the system boot time on any of my systems either. Should it? I have one starting back in June 2010 when the system in question was first installed. FWIW, last | grep boot returns nothing on one of my systems, even though that system has surely been rebooted a number of times.

Quote:

Originally Posted by devUnix

Also... how do we figure out if the system has been warm (soft) rebooted or cold (hard) rebooted?

A hard reboot due to power failure, system lockup or a kernel panic will leave no trace of a shutdown event in the logs. If you see log entries indicating the system has booted without entries for a corresponding shutdown immediately preceding them, there's been a crash of some kind.