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