How do I display previous current and next month in UNIX?
Answer
How to display previous, current and next month in one go?
The cal/ncal commands also display the previous, current and next month surrounding today. For this, you need to pass the -3 command-line option.