Syntax error while starting Kibana 7.8.0

I have downloaded and copied the kibana-7.8.0-linux-x86_64 to my Solaris server but on starting the service I am getting the below error

./kibana: syntax error at line 6: `ls=$' unexpected

Please let me know how to resolve this.

Kibana is not supporting Solaris by default. You could probably hack it in order to make it run, but I doubt it will be 100%.
Main one would be get the package and replace the node.js binaries with the ones for Solaris.