you can use this simply
kill -9 `pidof <proc>`
will kill all the processes with name proc
On Nov 8, 7:42 am, "Sharad Birmiwal" <[EMAIL PROTECTED]> wrote:
> I just looked it up, it is ${%} and not ${#}. Here is an example,
>
> for i in *.jpg; do
> filename=${i%.jpg}
> echo $filename
> done
>
> Sharad
>
> PS: This is how filename matching was boing done in /etc/init.d
> scripts (long time back, don't know about now).
--~--~---------~--~----~------------~-------~--~----~
[EMAIL PROTECTED] mailing list -- group http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---