Suppose a script has 1000 lines, and the 10 line has a command takes a long time to run and when I find it is running line 10, I find I need to change line 100, is it possible to do that without stop the script first?
We can also stop a process by using command pstop, but I don't know how to let the process to re-read the script and continue to run from where it paused.