Cal, Date, Hwclock, and NTP


Article from Issue 81/2007

I’m late, I’m late, for a very important date. For many applications, it is important that your PC has the correct time and time zone. We’ll show you how to keep your PC clock ticking and how to use NTP to synchronize the time with a time server on the Web.

An incorrectly set PC clock can bedisastrous – if your computer loses track of the time, you could end up juggling files from the future or emails from 30 years ago. The time warp could lead to misunderstandings, errors, or even crashes. Almost all Linux distributions set the time and time zone during the installation phase, and desktop environments such as KDE and Gnome display a clock in the panel to give users quick access to tools for configuring the computer clock.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Command Line: cal and date

    The legacy cal and date tools help users keep track of the time and date. You can even change the system time with a single shell command.

  • Bootchart

    Bootchart analyzes the boot process and tells you where the system is wasting time.

  • Command Line: Calendar Tools

    We take a spin through several personal calendar apps that you can manage from the command line.

  • Perl: DateTime Module

    Because calendar rules are influenced by historical and political decisions, date manipulations are riddled with pitfalls. Perl’s DateTime module knows all the tricks.

  • Ask Klaus!

    Klaus Knopper answers your Linux questions.

comments powered by Disqus

Direct Download

Read full article as PDF:

Commandline_Line_Cal_Date_Hwclock_NTP.pdf  (199.19 kB)
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Find SysAdmin Jobs