LINUX
COMMANDS
Contents | Previous
| Next
Date and time
$ cal - calendar
To any of the following, add -m to begin weeks
with Monday, rather than Sunday.
cal
Display calendar for current month.
cal -3
Display calendar for previous month, current month, and
next month.
cal -y
Display calender for current year.
cal 2002 | lpr
Display calendar for 2002 and send to printer.
cal 1 2002
Display calendar for January 2002.
$ date
date
Display current date and time.
Contents | Previous
| Next