18 Jan
2007
18 Jan
'07
14:58
On 18-01-2007 at 16:34, jan kalcic
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org