You can add execute permission using
Code: Select all
chmod a+x script_filename
For example
Code: Select all
sh script_filename
Code: Select all
bash script_filename
Code: Select all
#!/bin/sh
Code: Select all
#!/usr/bin/env perl
This will be imporant as the NEW IMv7 command ("convert" replacement) called "magick" can read options from a script, and such scripts are normally setup using magick of the form...
Code: Select all
#!/usr/bin/magick -script
# ...
For more information see my notes about "SheBang" as it is called here
http://www.ict.griffith.edu.au/anthony/ ... hebang.txt