Bash

  • $’\r’ : command not found


$’\r’ : command not found

I have been writing some Bash scripts recently using VSCode and I kept getting the error + $’\r’ : command not found when I went to run them in the console (Bash on Windows). Luckily I found the below answer on Stackoverflow which summed it up nicely.