Terminal and iTerm not working after upgrading to macOS Sierra
Open System Preferences > Users &amp; Groups.
Unlock the padlock at the bottom of the preference pane
Hold down the option key and click your account then click the Advanced Options... menu
Change your shell to /bin/bash
Click the OK button and close the preference pane.
Logout then log back in