July 2007
Beginner
347 pages
4h 40m
English
One of the things computers do best is remember stuff. Dates. Appointments. Holidays. Birthdays. All sorts of stuff. There is a wealth of date-related information available to you at the CLI. In this chapter, we’ll take a look at two handy date-related tools available in the CLI: cal and calendar.
The wonderful cal command can tell you a lot. Entered without any arguments, it shows you a calendar for the current month that looks like this:
March 2004
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 |
But there are several arguments you can add to the cal command to tell you even more. The Julian date, for example. Try this:
linux~>cal -j 1 2004 |
The example above ...
Read now
Unlock full access