>>> On 18-01-2007 at 16:34, jan kalcic <[EMAIL PROTECTED]> wrote:
> 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
> 


Variables will be your friend in this case.

$1 being the first parameter, $2 the 2nd, and so on...

man bash is probably a good start for you too.

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

Reply via email to