run command on Terminal start up?

Discussion in 'Mac Basics and Help' started by wfs123, Mar 28, 2011.

  1. wfs123 macrumors newbie

    Joined:
    Mar 28, 2011
    #1
    im trying to have a command run when i open a new terminal window. just like the "Last login: Mon Mar 28 18:43:03" command it runs when you open a Terminal window. How would i do this?

    Thanks, Will
     
  2. compuwar macrumors 601

    compuwar

    Joined:
    Oct 5, 2006
    Location:
    Northern/Central VA
    #2
    Put it in a .cshrc file in your home directory.

    Paul
     
  3. wfs123 thread starter macrumors newbie

    Joined:
    Mar 28, 2011

Share This Page