how to pass variable ti .sh file script linux code example Example: run sh with parameter > ./myscript myargument myargument becomes $1 inside myscript.