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