Comments on 10 Practical Examples of Linux Cal/NCal command for Beginners
If you want to quickly view a calendar on terminal in Linux, then cal is the command line tool that you should be using. By default the command displays the current month in output.
5 Comment(s)
Comments
Great tutorials. Please, go on. Thanks for your work.
Thanks for sharing with examples. Keep up the good work. Helping and sharing.
Very good. Works on terminal on my MacBook too.
This article does not work with Fedora 33 with GNU Bash Version 5.0.17(1)-release (x86-64-redhat-linux-gnu).
cal -A2, cal -B2, cal -N do not work. I get the errors that these are invalid options.
cal -h (displaying only the help, 1st question)
This is the best `ncal` tutorial I've found. Just one tweak suggested for #7, "Week starts Monday with classic `cal` layout". The tutorial says it's not available, but for me it works with the `-b` option mentioned in #6, e.g. `ncal -M -b -A2` gives me "cal" layout of this month and next two with week beginning Monday. FWIW!