Killing process w/o number (csh)

Scott P Nichols nichols at en.ecn.purdue.edu
Fri Apr 19 07:08:47 AEST 1991


Could someone tell me how I could set up an alias to kill a process
using something other than its number?  Say, for example something like:

alias	noss	???????????

What do I put in the ?????????? so that it kills the sysline in my
processes as follows:  (even if the number is different?)

  PID TT STAT TIME COMMAND
19500 v3 S    0:02 -csh (csh)
19731 v3 S    0:00 sysline -Dhr +15

Thanks for the info.

Scott

-- 
O-        /\
|\     /\/vv\                  _Insight from Oregon...Scott P. Nichols
      /vv\   \        	      /                     (nichols at en.ecn.purdue.edu)
_____/    \   ~~~~~~~~~~~~~~~~                         (nichols at techbook.com)



More information about the Comp.unix.shell mailing list