I have a script that I can run like this: bash myscript.sh -ram 4096M -jar something.jar -dir /home/something I would like to be able to access the variable ram, jar, and dir from within the script. How do I do this?
Asked
Active
Viewed 26 times
0
ctrl-alt-delor
- 2,401
user3524823
- 195
- 2
- 3
- 15