running a shell script with argument code example Example: run sh with parameter > ./myscript myargument myargument becomes $1 inside myscript.