What does the line '!/bin/sh -e' do?

Posted by Camran on Stack Overflow See other posts from Stack Overflow or by Camran
Published on 2010-05-29T19:16:47Z Indexed on 2010/05/29 19:22 UTC
Read the original article Hit count: 128

Filed under:

In the beginning of a file on my server (linux), which is located in the /etc/init.d/ folder I have this line:

 !/bin/sh -e

What does it mean, because every time I execute the rest of the script it works fine except for an error which shows:

 !/bin/sh not found

Any ideas?

© Stack Overflow or respective owner

Related posts about linux