Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

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

1 Answer 1

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.

share|improve this answer
    
Yep, likely one of the profile files is exiting or taking an error. –  Daniel R Hicks Jan 4 '12 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 '12 at 7:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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