Find the answer to your Linux question:
Results 1 to 3 of 3
Hey. This is my first semester in linux and I have a question on one of my assignments that really confuses me. I have to print the last month of ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    3

    Question Calendar Question



    Hey. This is my first semester in linux and I have a question on one of my assignments that really confuses me. I have to print the last month of this year and the first month of the next year on one line.

    I assume this means that we cant display it one after another. I used these commands:

    cal 12 2009; cal 1 2010

    But this only prints one after the other. Any suggestions? Thanks.

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,319
    I suspect that the question wants you to put the solution on one line, not the output. Perhaps you should check with your tutor?

    You are aware that it's against the forum rules to post your homework questions, aren't you?
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined! clickalot's Avatar
    Join Date
    Nov 2009
    Location
    Erlangen, Germany
    Posts
    37

    Talking

    heck! - that's fun!

    i didn't know there was a cal and calendar command in linux

    are there specific sites where people meet to solve homework and such?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •