I don't understand how to create a txt to use the calendar utility to display "notes"
closed as unclear what you're asking by countermode, Raphael Ahrens, Stephen Kitt, user34720, Archemar Jan 17 '17 at 12:49
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
To edit a text file, use whatever editor you have available, or install one.
vi are common ones.
The file should be called
.calendar (with a leading dot) and be placed in your home directory.
calendar text file is a plain text file with its various date formats described in great detail in the man page.
What's not so clear is how one adds notes to the date formats. Here is a simple example of this. Put the following three lines into the file
$HOME/calendar. (Use tab between the date and a note, and at the beginning of a continuation line.)
Jan/17 Answer a couple of questions on unix.stackexchange Team meeting first thing Jan/21 Restart the servers
calendar and if you're doing this on 17th January (any year) you'll get the first two lines. When you run it on 21st January you'll get the third line.
If you run
calendar -A3 you'll get today's notes plus those for the next three days (if any).