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
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