bash: $'\r': command not found code example Example: $'\r': command not found sed -i 's/\r$//' filename