Terminal trouble.

in Genius Bar edited January 2014
Every time I start up the terminal, it says this:

Last login: Mon Mar 10 18:36:21 on console

Welcome to Darwin!

/sw/bin/init.csh: No such file or directory.

[Shibui:~] mdaisey%

Now--what is this, and how can I stop the terminal from looking for it?


  • Reply 1 of 2
    thuh freakthuh freak Posts: 2,664member
    ok, you can hush the top line by doing this in terminal:

    [code]touch ~/.hushlogin;</pre><hr></blockquote>

    the second line is from /etc/motd. you can edit that file to change that message (or empty the file for no message). i'm not sure, but the ~/.hushlogin may suppress this 'message of the day' as well.

    and the last is from <a href="http://fink.sf.net"; target="_blank">fink</a>. fink is a wonderful program. you could install fink to get rid of that line. if u dont want fink, u have to find if u have a .cshrc, or a .tcshrc. if you don't know what these files are try doing this:

    [code]ls ~/.tcshrc ~/.cshrc;</pre><hr></blockquote>

    and see which one shows up without a file not found error. edit that file (probably with TextEdit if ur not familiar with terminal, or emacs, pico, vi, or vim if u are) and take out the line similar to this (probably the last line in the file):

    source /sw/bin/init.csh;
  • Reply 2 of 2
    mrmistermrmister Posts: 1,095member
    I used pico...thanks a lot for clearing that up.
Sign In or Register to comment.