title: How do Linux binary installers (.bin, .sh) work?
body: <p>Some software (for ex. the <a href="http://www.netbeans.org" rel="noreferrer">NetBeans IDE</a>) ship the Linux installers in .sh files. Curious about how exactly they 'package' a whole IDE into a 'shell script', I opened the file in an editor. I saw some plain text shell scripting code and then some random gibberish, which I reckon is 'binary' or non-plain text. </p>
  
  <p>I am wondering how they mix plain shell scripts and then probably call the 'non-readable' stuff, which would be the binaries. </p>
  
  <p>Any insight on this? </p>