./post_install.sh: line 2: $'\r': command not found code example Example: run.sh: line 39: $'\r': command not found sed -i 's/\r$//' filename