Terminal shows ">" after running command I am new to Mac Terminal. I am learning. After entering a command it gives me just that: &gt;  What does it mean? What should I do now, how to continue or scape?

Here is the command I issued:

for file in *.txt; do echo mv "$file" "${file/#new/nou}”; done
In your case, the problem is you are inputing a ” character in your command after nou} (note, not a " but a ”) .

The command should look like this:

for file in *.txt; do echo mv "$file" "${file/#new/nou}"; done

To break out of any ongoing command just press Ctrl+C.