Syntax error near unexpected token (bash script linux) Solved

Опубликовано: 06 Апрель 2026
на канале: Unik dan Nyata
11,918
33

I want to create bash script in linux
I copy from internet in Windows then save it in linux
But i got error
syntax error near unexpected token `$'do\r''
Syntax error: word unexpected (expecting "do")

#bashscripterror #linuxerror #ubuntuerror #syntaxerror