Calendar
From LinuxSwords Wiki
Contents |
using calendar
Calling the command
Usually calendar is installed by default. You can call it on the cmdline
calendar
It is usally in
/usr/bin/calendar
It prints out all calendar-entries for today and tomorrow. You can also ouput a specific date, consult the manual for this option.
Default locations
On a ubuntu system the file are located in
/usr/share/calendar
An ls of that directory on my linuxbox returned
calendar.all calendar.birthday calendar.debian calendar.french calendar.judaic calendar.pagan calendar.usholiday hr_HR calendar.argentina calendar.christian calendar.discordian calendar.german calendar.lotr calendar.russian calendar.world ru_RU calendar.australia calendar.computer calendar.eu calendar.history calendar.music calendar.southafrica de_DE calendar.belgium calendar.croatian calendar.freebsd calendar.holiday calendar.newzealand calendar.ubuntu fr_FR
Customize your own calendar file
Create a directory
~/.calendar
and a file
~/.calendar/calendar
and insert some dates you want to remember:
LANG=utf-8 12/16 Geburtstag Andreina #include <calendar.birthday> #include <calendar.lotr> #include <calendar.computer> #include <calendar.debian>
This file will be called by default and you can #include any other file you want to
