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