Tip Details Add a Related Tip

Rate as: Positive Negative

Show calendars on the UNIX command line

Not sure why I'd ever use this, but I just ran across the UNIX cal command and I found it pretty cool. You can use it to print out calendars from the command line of a UNIX/Linux command prompt.

There are a couple of useful usages:

cal -1 will print out the current month

cal -3 will print out the prev/current/next months

cal 2009 will print out a calendar for 2009 (change to any year you want)

cal 6 2009 will print out a calendar for June 2009 (change to any month and year)

Here's what the results for cal -3 look like:

Sample output from the cal command Sample output from the cal command
Rating: 100% positive, 2 total Votes
Categories: calenders UNIX linux command line
Added: on Jan 20, 2009 at 4:45 pm
Added By: an anonymous user
Searches: command cal unix line print

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Running Linux jobs even when disconnected

Categories: Linux UNIX command line
100% positive, 1 comment - last added on Dec 24, 2008 at 1:14 pm
– Tip added by an anonymous user on Dec 22, 2008 at 2:21 pm

listing files on a single line

Categories: linux Unix command line
100% positive, 0 comments
– Tip added by an anonymous user on Feb 19, 2009 at 8:03 am

Read diffs easier

Categories: UNIX linux CVS command line
100% positive, 0 comments
– Tip added by an anonymous user on Dec 12, 2008 at 2:10 pm

ssh and scp without passwords

Categories: shell Mac linux UNIX
100% positive, 2 comments - last added on Jun 19, 2009 at 8:29 am
– Tip added by an anonymous user on Dec 21, 2007 at 2:51 pm

Color coding the ls command in Fedora

100% positive, 0 comments
– Tip added by an anonymous user on Apr 25, 2008 at 8:27 am

Running background jobs

Categories: linux UNIX
100% positive, 0 comments
– Tip added by an anonymous user on Dec 04, 2008 at 10:04 am

Finding files older than a certain time on Linux

Categories: Linux find UNIX
no ratings, 0 comments
– Tip added by an anonymous user on Jul 27, 2009 at 1:47 pm

Forcing users to change their password

no ratings, 0 comments
– Tip added by an anonymous user on Sep 30, 2008 at 11:27 am

Empty the contents of a file

Categories: UNIX linux
no ratings, 0 comments
– Tip added by an anonymous user on Aug 21, 2008 at 9:09 am

Software Development Automation with Scripting Languages

Categories: linux unix scripting
no ratings, 0 comments
– Tip added by an anonymous user on Jun 05, 2008 at 2:40 pm

Running X11 programs from the terminal

no ratings, 0 comments
– Tip added by an anonymous user on Jan 28, 2008 at 8:04 am

Changing an already running job to execute in the background

Categories: linux UNIX Mac
no ratings, 0 comments
– Tip added by an anonymous user on Aug 06, 2007 at 11:57 am

Update your shell prompt

Categories: UNIX Mac linux shell
no ratings, 0 comments
– Tip added by an anonymous user on Jun 04, 2007 at 9:15 pm

Hacking Windows Using Linux

85% positive, 0 comments
– Tip added by an anonymous user on Jun 08, 2009 at 12:03 pm

How to execute chm files in linux

Categories: linux chm files hacks tricks
88% positive, 0 comments
– Tip added by an anonymous user on Jun 29, 2009 at 7:02 am

20 Free Operating Systems that are not Windows

85% positive, 0 comments
– Tip added by an anonymous user on Jul 05, 2009 at 8:47 am

Get daily weather info directly in iCal

Categories: calenders weather iCal Mac
100% positive, 0 comments
– Tip added by an anonymous user on Apr 01, 2009 at 8:08 am

Transform Linux to Windows 7

100% positive, 0 comments
– Tip added by an anonymous user on Jul 23, 2009 at 10:56 am

Run quick terminal commands on the Mac

no ratings, 0 comments
– Tip added by an anonymous user on Oct 05, 2009 at 12:30 pm

Manage your battery in linux

no ratings, 0 comments
– Tip added by an anonymous user on Sep 03, 2009 at 1:29 pm