> 
> Truly, I'm not trying to flood the list with stupid questions, it just comes
> so naturally to me.
> 
> 1.  There must be a command out there that translates the name of a process
> into it's PID, what is it?
> 
> 2.  How could I kill all processes that have a certain name?  What about
> killing all processes with a certain pattern in their name, how could I do
> that?
> 
> I'm thinking:
> 
> # kill | (trans_processid *pat[]tern*)
>    ^-whatever that command is
> 
> Thanks in advance.
> 
> Dan Browning
> Network Administrator
> Cyclone Computer Systems
> 



ps will show you the PID ofthe proccess your running, ps -aux show all the
processes running.  man ps

you could use the killall command, If i want to kill the pppd it would be
killall pppd

This will work for other programs as well

Reply via email to