lundi 2 février 2015

How to validate the 2 arguments in shell script


I want to run the shell script with passing the 2 arguments. Like below



./test.sh hostname username


And I need to validate the argument within my shell script.


How to validate the 2 arguments in shell script ?



Aucun commentaire:

Enregistrer un commentaire