Background
$'\r' appears when executing the .sh script: Command not found, the
reason
is because the command is directly copied from windows.
Solution
Run: yum install dos2unix
dos2unix **.sh to convert
can be executed again
Reference: https://blog.csdn.net/qq_39727001/article/details/102560102