On Sat, Dec 19, 2009 at 05:48:44PM -0900, Ken Irving wrote:
> kill %1 works for me. I've puzzled over this before, and I think part of the
> trouble may be that 'jobspec' is not defined in bash(1) (v 3.29).
Ok, I misunderstood the issue, stop vs kill.
Ken
--
ken.irv...@alaska.edu
On Sun, Dec 20, 2009 at 10:30:27AM +0800, jida...@jidanni.org wrote:
> Notice how I need two steps to stop this running job:
>
> $ jobs
> [1]+ Running firefox &
> $ fg
> firefox
> ^Z
> [1]+ Stopped firefox
>
> As there is no
> $ stop %1
> like command.
kill %1 w
On 12/19/09 9:30 PM, jida...@jidanni.org wrote:
> As there is no
> $ stop %1
> like command.
alias stop='kill -s STOP'
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww
jida...@jidanni.org schrieb:
> OK, never mind. Market demand too low to add...
I rather think you could just define a stop()
Notice how I need two steps to stop this running job:
$ jobs
[1]+ Running firefox &
$ fg
firefox
^Z
[1]+ Stopped firefox
As there is no
$ stop %1
like command.
OK, I suppose I can use
$ kill -s SIGSTOP %1
$
[1]+ Stopped firefox
OK, never mind.