A calendar and weather forecast in the terminal

3 · Jamie Smith · June 2, 2022, 6:49 a.m.
I learned a couple of cool terminal tricks on Hacker News yesterday. Calendar The first is the cal program, which prints an ASCII calendar. cal by itself returns the current month with today’s date highlighted. cal 2022 returns a calendar for the whole of 2022. cal -3 returns the current and surrounding months. This may be the most useful default view for me: Running cal -3 returns a calendar comprising the previous month, current month and next month. It also works for the past: cal 1981 ret...