Hi Linux Guru's
please spare me if this topic had landed on a wrong locaton,
I am thinking on how to make our script flexible and able to read 2 arguements, can you guide me on what is the best approach on how to add in our simple script the capability to read the arguements when it is executed.
the script name is pogi.sh
echo "performing the install now"
ssh -qt firstname.lastname@example.org "cd /home/pogi/scripts/bin; ./installer.pl --rpm nrpe.1.1.10.rpm --host webserver,databaseserver"
so I'm thinking how to enable the script by executing it by this way
./pogi.sh <RPM> <HOST(S)>
so the arguments needed are for "--rpm" and "--host"