git: 9front

ref: 5cd5d8899f0ca0f3d9c6b56d7feabfa0729df88c
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'
}