I have a simple script in bash
:
#!/bin/bash
echo "Hello world"
And he executed it on my console with a simple:
user@host: $ sh script.sh
Hello World
That said, I would like to execute the above ( sh script.sh
) by means of a "system and / or global" variable that I can configure (how it is done with npm
modules)
user@host: $ SCRIPT
Hello World
How can I do it?