The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-18-2009
kitty123 kitty123 is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 5
when i put $$ it runs the first loop but then it kills the 2nd loop completely and doesn't pass the PID number into the second loop.

i also tried $1 and it gave me this error

kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
process is terminating process