: No such file or directory

1. Problem description

An error is reported when uploading sh files from windows to linux for execution

2. Problem solving:

Linux execution:

sed -i "s/\\r//" xxx.sh

Then you can execute the sh file

Guess you like

Origin blog.csdn.net/yiye2017zhangmu/article/details/123410745