20 February 2009

Add a Binary Payload to your Shell Scripts

Add a Binary Payload to your Shell Scripts | Linux Journal
Adding a binary payload to a shell script could, for instance, be used to create a single file shell script that installs your entire software package which could be composed of hundreds of files. You merely append the tar or gzip file of your package as a binary payload to the script file, when the script runs it extracts the payload and does its task with the extracted files.