tags:

views:

17

answers:

1

Greetings,

I recently installed tomcat on my OS X 10.5 box and while I was playing around with the ~/profile I accidentally put in a bad alias and saved it. Long story short every time I open up the Terminal app it tries to launch the alias and hangs up and is unresponsive with keyboard commands.

I tried deleting my Home folder -> Library -> Preferences -> com.apple.terminal.plist

This did not work.... However when I create another user on the system the Terminal works fine.

It's prob some hidden file in the Home directory I assume? But I have had no such luck with rigging my Mac to view hidden files. Please help!

A: 

Are you the only user? If so on a new users name (give them admin priveledges) do the following:

sudo rm /Users/useryoumesseduptheterminalfor/.bash_profile

or if its just called '.profile':

sudo rm /Users/useryoumesseduptheterminalfor/.profile

that will remove the file and you will again be able to use terminal without hangups.

Edit : oops did /home/ instead of /Users/ .

Marm0t