Re: An inotifywait question
On Friday 17 April 2015 12:34:11 Karl E. Jorgensen wrote:
> Hi!
>
> On Fri, 2015-04-17 at 12:05 -0400, Gene Heskett wrote:
[...]
> > Thanks for any clues. The bash manual, at around 500 pages, details
> > aren't that easy to find in that tome.
>
> Bash (or sh) is really a programming language :-)
Tell me about it!
>
> You're looking for $! :
>
> Special Parameters:
> ...
> ! Expands to the process ID of the job most recently
> placed into the background, whether executed as an asynchronous
> command or using the bg builtin (see JOB CONTROL below).
If its the PID of what *this* script launched, as opposed to what another
script launched, that is exactly what I need. Experiments in the next
days, thank you Karl.
>
> Hope this helps
I believe it does.
> Karl E. Jorgensen
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
Reply to: