Display Calendar in Shell in Linux

To display calendar in shell in Linux, we can use cal command.

</>
Copy
cal

The cal command displays the calendar of current month in the shell.

Example

In this example, we display the calendar in shell.

Run the command cal in the terminal as shown in the following.

Linux - Display Calendar in Shell

Conclusion

In this Linux Tutorial, we learned how to display calendar in shell, using cal command.