/ Published in: Groovy
Put this script in your path and you can start your scripts located in ~/.groovy/scripts from everywhere.
Tags: Bash, Linux, Groovy
Tags: Bash, Linux, Groovy
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/bash script=$1 shift groovy ~/.groovy/scripts/$script $@