Code Yarns β€πŸ‘¨β€πŸ’»
Tech Blog ❖ Personal Blog

cal Unix tool

πŸ“… 2020-Mar-21 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ unix ⬩ πŸ“š Archive

cal is a classic Unix utility, available since the earliest versions of Unix. It can be used to display the calendar of one or more months at the shell. Its output format has remained the same since its introduction so you can also parse and use it in your scripts.

$ cal
$ cal -1
$ cal -3
$ cal -y
$ cal 1947
$ cal 8 1947

Tried with: Ubuntu 18.04


Β© 2022 Ashwin Nanjappa β€’ All writing under CC BY-SA license β€’ 🐘 @codeyarns@hachyderm.io β€’ πŸ“§