sh: Syntax error: Bad fd number


When trying to install the Intel* composer XE as an User (in Ubuntu 12.04), Then we may sometimes encounter an error " sh: Syntax error. Bad fd number".


 If the default shell is not set to bash.


Perform these 2 steps below:-

sudo rm /bin/sh

sudo ln -s /bin/bash /bin/sh

After this again restart the installation.

For more complete information about compiler optimizations, see our Optimization Notice.