FortiSIEM
FortiSIEM provides Security Information and Event Management (SIEM) and User and Entity Behavior Analytics (UEBA)
Andy_G
Staff
Staff
Article Id 194473

Description

Summary of Topic

When running 'phdownloadimage.local' to upgrade I received error "-bash: ./phdownloadimage.local: /bin/bash^M: bad interpreter: No such file or directory".

This is caused by the file having  WIndows line feed characters (^M) in the file.  Maybe the script was opened in a text editor on Windows at some point.

  

Resolution

run the command 'dos2unix' at the command line.

 # dos2unix phdownloadimage.local

 Now you can run the phdownload.local script again. 

 

Additional Resources

n/a 

Version application

All

 

 

Contributors