8 lines
145 B
Bash
Executable file
8 lines
145 B
Bash
Executable file
#!/bin/rc
|
|
rfork e
|
|
U=`{cat /dev/user}
|
|
for(i){
|
|
ps | sed -n '/^'$U' .* '$i'$/s%[^ ]* *%~>/proc/%
|
|
s% *.* (.*)%/note} # \1%
|
|
s%~%@{echo kill%p'
|
|
}
|