Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)
Andre Berger <uzscd5@uni-bonn.de> writes:
Sorry, use
kill -9 $(pidof communicator-smotif.real)
or something like that.
Andre
> Peter Kovacs <kovacsp@knowpost.com> writes:
>
> > On Sat, 24 Jun 2000, Mark Phillips wrote:
> > From man 1 bash:
> > Command Substitution
> > Command substitution allows the output of a command to
> > replace the command name. There are two forms:
> >
> > $(command)
> > or
> > `command`
> >
> > That's why I had the backticks in there. I've never seen the
> > $() construct either.
>
> You can use it for
>
> kill -9 $(pidof netscape)
>
> to get rid of all processes that have the string "netscape" in their
> names ;)
>
> Andre
Reply to: