When you run a script, the process name is usually the interpreter running 
the script. Since that's a .sh file I assume that'd be bash. It probably 
has Script2Kill.sh as the argument, not the process name.


On Sat, 17 Oct 2015, rhubarbpieguy at gmail.com wrote:

>
> I'm unable to kill Script2Kill.sh using "pkill Script."  Using jobs I see:
>
>   [1]+  Running            ./Script2Kill.sh &
>
> I can kill the script with "kill %1" but "pkill Script" has no effect.  I've 
> tried several combinations, but if I understand correctly, pkill and part of 
> the name string should work.  Can others use pkill successfully?
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>