Why is your
bash not starting up?
bash is not starting up correctly, one of its configuration files is borked. These are:
And after that, the first one of these it can find:
If you followed that tutorial correctly, you created the
~/.profile file. But not in
/usr. It should reside in your
$HOME directory, which is at
/Users/your-username, and known as
~ to the shell. You can put anything you want into
/usr and it wouldn't affect bash starting.
Try to go into Terminal.app settings and changing the following:
The command you want to execute is:
Don't forget to untick Run inside shell. Of course, change
your-username to your actual short user name. Once you open that Terminal profile, your existing
.profile file will be deleted.
You can then uncheck the Run command field and try to start over.
Other means of debugging
If the above didn't help, from the same Run command field, try running:
/usr/bin/tail -n 10 /Users/your-username/.bash_history
This will trace back your last steps, which would be valuable information to add to your post.
Your Terminal shows
Could not open a new pseudo-tty?
In that case, a reboot is needed. Somehow you created too many forks, exceeding the file system limits. This should be restored by simply rebooting your Mac.