ref: 4ad3f4f2fd225b0ac5c9f49e3c5713a5996becd3 dir: /rc/bin/stop/
#!/bin/rc U=`{cat /dev/user} ps | sed -n '/^'$U' .* '$1'$/s%[^ ]* *%~>/proc/% s% *.*%/ctl% s%~%echo stop%p'