Thank you. But my question was not what you said. An example will explain it better, I think.
Say you have a background job
Code:
display "rorshache.jpg" &
You wrote it into a bash script called test.sh. Now run it by
Now if you want to do some job management, for example, to see what job is running background
The job will not be shown.
If you run
Code:
display "rorshache.jpg" &
directly in the shell, you will be able to use job control commands.
My question is in the first case how to do the job control?