how to run a .sh file and pass arguments code example Example: run sh with parameter > ./myscript myargument myargument becomes $1 inside myscript.