Hi People,

How can I have my bash script read the option I pass in command line?


Let's suppose the script looks like this:

#!/bin/bash

ping -c "?"  192.168.1.1

I want to have that number of count passed by command line when I launch
the script. For example: # ./script 5 would  execute ping  -c 192.168.1.1

TIA,
Jan

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to