terminal mac - bash command not found, permission denied and '>' in prompt
Solution 1:
The >
is a syntax error, apparently caused by HTML markup in whatever source you copy/pasted this from. Where you see >
the author intended >
and where you see <
the author intended <
. If there's an &
that will need to be replaced with a literal &
etc.
See a listing of HTML entity codes for a somewhat more exhaustive list.