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

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.