Calendar in the command line

DATE COMMANDER

Article from Issue 58/2005
Author(s):

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.

Wall calendars are pretty, and PDAs are handy, but there is nothing like Linux to help you track the time. Linux gives a quick overview of the date and time with the cal and date command line tools.

You can use cal to draw a calendar sheet or an overview for a full year in a terminal window, and date not only outputs the date and time in various formats, but can also adjust the system time, assuming you have administrative privileges.

Buy this article as PDF

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

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Command Line: Cal, Date, Hwclock, NTP

    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.

  • 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.

  • Perl: Math Tricks

    A trick that anybody can learn lets you determine the day of the week from the date. We’ll apply some Perl technology to discover whether the method is reliable.

  • Perl: Portfolio Watch

    We'll show you a Perl script that helps you draw area graphs to keep track of your portfolio's performance.

  • Hypermail

    Hypermail converts email messages to HTML and allows you to group your messages in tidy archives.

comments powered by Disqus

Direct Download

Read full article as PDF:

Commandline_cal_date.pdf (154.60 kB)

News

njobs Europe
What:
Where:
Country:
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia