Sorry I didn’t see the update. The new forum software isn’t showing me updated threads the way it is supposed to.
I have asked the hosts to remove your two iCloud sharing posts. They don’t work and they reveal personal information.
I’m not sure what you are saying in your replies. It seems like your Terminal environment is completely locked up as soon as you launch a window. From your first screenshot, it looks like you are able to control-c to break out of the loop. I’m not sure what your environment is like at that point.
Here is how to fix it:
1) Launch Terminal or switch to it. Don’t worry about the locked-up terminal.
2) In Terminal’s “File” menu, choose “New Command..."
3) In the Command text field, type the following line:
/bin/zsh
and then press the “Run” button. Do NOT check the “Run command inside a shell”.
At this point, you will be running the zsh shell in a new window. This is very similar to the bash shell. We will use zsh to fix your bash profile.
4) Enter the following command in your new, and functional, Terminal window:
mv ~/.bash_profile ~/bash_profile_broken.txt
and press the “return” key.
5) Hold down the command key and press the “N” key to open a new Terminal window with a bash shell. This time it should work. If so, you can close any non-functional Terminal windows.
6) You will be able to see the “bash_profile_broken.txt” file in the Finder now. You can open it with any text editor and study what you did wrong with it.
7) At this point, it might be a good idea to back up an explain just what you were originally trying to accomplish and we can tell you how to do that without rendering Terminal inoperative.