Run bash script with command line arguments
- by Trey Parkman
I want to do
/usr/bin/bash myscript.sh -args
which, as it stands, runs the script but doesn't pass the args to it. I realize that the conventional syntax is simply
./myscript.sh -args
but I'm curious as to what I need to do in order to call the script from bash explicitly.