linuxdot.org Linux Expo Birmingham 2002
Linux news | Newbie's Linux manual | Linux links | Link us
The Linux columns | Book reviews
  DistroWatch + TuxReports October 28, 2002

Contents | Previous | Next | Download

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 | Download

About us  
Latest stable kernel: 2.4.19 | Latest development kernel: 2.5.44
Copyright © 1998-2002 Linuxdot.org.
Linux ® is a registered trademark of Linus Torvalds.