Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

Don't trust time

A good 70 percent of the time (random figure), I've found time to be the root cause of most of my problems. It is because of this that one of the first commands I run when I log on to a box is date:

$ dateTue 11 Dec 17:51:33 UTC 2018

If the time is wrong (and not just offset because of timezones), then there's a very good chance that the weird and wonderful problems you're seeing are the direct result of two or more computer systems arguing about which of their completely arbitrary representations of time is correct. 

Fix time before you fix anything else.

Incorrect time and fixing incorrect time can cause problems of its own so, check and keep backups regularly. 
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content