My terminal is self exiting only showing this every time I open it and not letting me type anything in

Last login: Wed Jan 4 14:02:15 on console

[Process completed]

Any clues or anything? I can't change my .bashrc or .bash_profile b/c of this

link|improve this question
You can change those, just not through the terminal. Try something like TextWrangler link. – Agrajag9 Jan 4 at 19:20
feedback

1 Answer

I would guess that something in .bashrc, .bash_profile, or .profile is executing exit or a similar command which ends the shell process.

Use the TextEdit app built into OS X to open these and examine. A related question shows how to see and open files beginning with a dot in the TextEdit open file window.

link|improve this answer
Yep, likely one of the profile files is exiting or taking an error. – DanH Jan 4 at 19:44
You can suppress startup files by creating a terminal with Shell > New Command. Run the command bash --noprofile, for example. Then you can examine/edit the files using that terminal. – Chris Page Jan 5 at 7:06
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.