git: 9front

ref: e8f5e0909f4a7c7ae2c4e85f563e6b4da88aa98f
dir: /rc/bin/kill/

View raw version
#!/bin/rc
for(i){
	ps | sed -n '/ '^$i^'$/s%^[^ ]* *([^ ]*).*%chmod 666 /proc/\1/ctl;echo kill > /proc/\1/ctl%p'
}