Mailinglist Archive: opensuse (4631 mails)

< Previous Next >
Re: [opensuse] Bash script which read command option
  • From: Patrick Kirsch <pkirsch@xxxxxxx>
  • Date: Thu, 18 Jan 2007 15:56:21 +0100
  • Message-id: <45AF8A95.7030809@xxxxxxx>
Hey jan,
> ping -c "?" 192.168.1.1
>
#!/bin/bash
ping -c $1 192.168.1.1
^^ $1 $2 $3 are the commandline parameters given to the script

- Patrick
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References