Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jdrm

macrumors newbie
Original poster
Jan 16, 2006
15
0
Please help me...everytime I run a Terminal.app I just get this:
imacg5s-imac-g5:~ imacg5$ /Users/imacg5/test/build/Debug/test; exit
-bash: /Users/imacg5/test/build/Debug/test: No such file or directory
logout
[Process exited - exit code 127]

and then command completed ....please help me to get terminal back to normality
 
I think I know what's going on. There's a file in your home directory, I think it's called .bash_profile, that runs every time you open a terminal. It seems that this file has the "exit" command in it - so when you load Terminal, it automatically exits. Basically, you need to delete this file.

The problem is that the file is hidden. I know that there are tools to enable viewing of hidden files, somebody else should be able to help out there :)
 
Go to terminal -> preferences and make sure your window looks like this. :)
 

Attachments

  • Picture 1.png
    Picture 1.png
    36.1 KB · Views: 60
Well already got it fixed.....I opened Library/Preferences/com.apple.Terminal.plist and deleted what was under ExecutionStings .....however I still don't get why this happenned....
cya!
 
help!!

Hi...
I have the same problem and I cannot use the shell.
I try all the three way that you say. Concerning the last, I haven' t a file com.apple.terminal.plist.
Someone have an idea?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.