Bash Eval Syntax Error Every time I open terminal
Solution 1:
Your PATH line is bad. It's got a `
at the beginning of the line as the error shows, plus some bad content at the end.
This is probably in your ~/.bash_profile
which is sourced by default. Check the content of this file.
You can make bash print before executing a line using -x
, i.e. bash -x
. This can help narrow down where the issue is occurring by showing the lines of script before they are executed.