Shell Scripting: How to choose a randow number from three values?
I want to write a Shell Script. The task is, that I have to pick a random number. But the numbers must be one of the following three. 5,10,15 So if "let's say" 'a' is smaller than 5, I have to pick randomly a number of 5,10 or 15. How can I do that?
Aucun commentaire:
Enregistrer un commentaire