For example, if I ran:
$ sh somescript inputvariable
if so, how would I use this variable in the script?
For example
$ sh somescript 7
inputvariable
inputvariable
"? Can you give more detail about what you expect? You can [edit] your question. – Michael Homer Jan 27 '18 at 03:47