0

For example, if I ran:

$ sh somescript inputvariable

if so, how would I use this variable in the script?

For example

$ sh somescript 7
2
  • What is "inputvariable"? Can you give more detail about what you expect? You can edit your question. – Michael Homer Jan 27 '18 at 3:47
  • a variable I could use in the script – Tinler Jan 27 '18 at 3:48

Browse other questions tagged or ask your own question.