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 -->
  #7 (permalink)  
Old 03-18-2009
kitty123 kitty123 is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 5
it has to be $$ but then i think there is something wrong in the kill line thats not making the 2nd loop recycle the PID #'s. is there something else other than -9 that can be used be/c when i put in $$ it just says "killed" in the second loop and it doesn't even run.


i want the first loop to list out the PID # five times

then the second loop i want it to list out the PID # that was listed in the first loop (again 5 times) but kill them when it lists them out.

Last edited by kitty123; 03-18-2009 at 07:19 PM..