0

I'm a newbie in shell scripting. I need to pass a parameter into a shell script when I execute it:

./test.sh 1234

In my script I would like to assign 1234 into a variable, how do I do it?

marked as duplicate by Kusalananda shell Aug 31 at 7:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.