Change perl -pe to perl -ne actually...
ps -C httpd|perl -ne'($_)=/(\d+)/;`kill -9 $_` if $_'That seems better to me.
-- Casey
In reply to RE: Answer: How do i obtain the PID of a program already running. UPDATE
by cwest
in thread How do i obtain the PID of a program already running.
by Adityad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |