How do I call a shell script with 2 parameters
How do I call a shell script that requires say 3 parameters $1, $2, $3?
Basically, I have a shell script that I want certain users with valid password to use it. As the username and valid password will be the 3 parameters the script requires.
Eg: I want to run the script (say test.sh) and pass the username and password (Scott/tiger@db) as a parameter.
Can someone help please?
This book is a must have:
There's also unix.com for unix forums.
Click Here to Expand Forum to Full Width