4 lines
105 B
Bash
Executable file
4 lines
105 B
Bash
Executable file
#!/bin/rc
|
|
~ $#* 0 || ps | sed -n '/^'$user' .* '$1'$/s%[^ ]* *%~>/proc/%
|
|
s% *.*%/ctl%
|
|
s%~%echo stop%p'
|