how to pass variables to shell script code example Example: run sh with parameter > ./myscript myargument myargument becomes $1 inside myscript.