how to write a bash shell script called which outputs the calendar for the current month and the following month?

Recommended Answers

call the "cal" command twice?

Jump to Post

All 3 Replies

call the "cal" command twice?

that would just print out the curretn month twice?

that would just print out the curretn month twice?

When called with no arguments yes, but the command does take arguments.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.