Skip to content

Instantly share code, notes, and snippets.

@IQAndreas
Last active December 21, 2015 07:49
Show Gist options
  • Save IQAndreas/6274377 to your computer and use it in GitHub Desktop.
Save IQAndreas/6274377 to your computer and use it in GitHub Desktop.
Running this script in terminal (via just a standard `./test`) will execute the script located in `/home/andreas/custom-script` passing this file as the first argument
#!/home/andreas/custom-script
This will not be treated as code, but if executed in shell,
the script located in `/home/andreas/custom-script`
will run and be executed, passing the path to this
file as the first parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment