[PLUG] Bash: pause running script and continue it in background [FIXED]
Rich Shepard
rshepard at appl-ecosys.com
Wed Oct 5 21:08:39 UTC 2016
On Wed, 5 Oct 2016, Dale Snell wrote:
> You don't need anything so baroque.
Dave, Michael, Dale:
Thank you all. Cherry picking from the offered solutions I found what
works.
From the directory in which the script started I typed ^z. This paused the
running script. Then I typed 'bg' and the script re-started in the
background:
[rshepard at salmo ~]$ ./send-nl.sh
^Z
[1]+ Stopped ./send-nl.sh
[rshepard at salmo ~]$ bg
[1]+ ./send-nl.sh &
I thought it was simple, but not having a need to do this before I wanted
to check with you gurus before trying anything.
Best regards,
Rich
More information about the PLUG
mailing list