mkdir: /Users/me/.bash_sessions: Permission denied
~/.bash_sessions is a folder used to store the history of past bash sessions. Apparently the permissions are wrong (however this happened), there are several ways to tackle this:


rm -r ~/.bash_sessions Deletes the whole folder, should get recreated with the next Terminal tab/window you open
sudo chown -R $USER ~/.bash_sessions; chmod 700 ~/.bash_sessions Tries to fix permissions (sudo only works if you have an account with admin privileges)