Here's a job control conundrum for you.
Bill Freeman
f at ke1g.mv.com
Tue Apr 10 16:17:21 EDT 2007
Steven W. Orr writes:
> I go to work in the morning and ssh in to my 'puter at home. I run alpine
> which is my preferred text mail interface.
>
> At the end of the day I don't want to cleanly exit from alpine (for
> reasons that are not important). Instead I want to kill it.
>
> I ^Z out of alpine so I have a stopped job. Here's where it gets
> interesting:
>
> If I say killall -1 alpine there's no effect.
> If I say kill -1 %1 it does what I want.
>
> Anyone understand this?
Maybe:
killall -s1 alpine
or even just:
killall alpine
???
My man page says that, unlike kill, killall doesn't accept a
negative first argument as a signal number (and even the kill
man page doesn't interpretet -1 this way).
Bill
More information about the gnhlug-discuss
mailing list