Quote:
Originally Posted by jim mcnamara
bash is a POSIX shell so this is what POSIX thinks about $!:
|
jim mcnamara is right. we cannot use $! as this the process ofthe bash running and not the
shell script which was running . if you try to print that value using the shell script and
try to execute that shell script in hte background you will find two different process id.
so i need different method for this .