Skip to main content
added 6 characters in body
Source Link
tachomi
  • 7.9k
  • 4
  • 28
  • 45

I just executed same script in my centos machine which works file. As suggested by AftabKusalananda, convert the script file from dos to unix. install dos2unix package if you do not have it installed already. Then you can use below command to convert $dos2unix (name of the file)

I just executed same script in my centos machine which works file. As suggested by Aftab, convert the script file from dos to unix. install dos2unix package if you do not have it installed already. Then you can use below command to convert $dos2unix (name of the file)

I just executed same script in my centos machine which works file. As suggested by Kusalananda, convert the script file from dos to unix. install dos2unix package if you do not have it installed already. Then you can use below command to convert $dos2unix (name of the file)

Source Link

I just executed same script in my centos machine which works file. As suggested by Aftab, convert the script file from dos to unix. install dos2unix package if you do not have it installed already. Then you can use below command to convert $dos2unix (name of the file)