Just now learning bash, using my own Windows computer (since the HP Ubuntu one has been returned). Can’t run the newly written bash script!
line 3: $‘\r’: command not found
Write this sentence to terminal, then run it:
sed -i 's/\r//' yxy_learn_bash2.sh