Bash scripting question

I am having a tough time trying to figure out how to pass on things entered at command line after the initial script name, IE:

./script option1 option2 option3

How would I have the script capture what is entered at the command line for option1 through 3, and perhaps put it into a variable(s)?

 

 

 

 

Top