I want to put a program in the background. I start it by executing ./IpLocations. Then I suspend it with Ctrl + Z. When I call bg the program is in the background but it's still in Stopped state.
The program resumes when I type fg.
mini@m:~: ./IpLocations
## [CTRL+Z] ##
[1]+ Stopped ./IpLocations
mini@m:~$ jobs
[1]+ Stopped ./IpLocations
mini@m:~$ bg
[1]+ ./IpLocations &
mini@m:~$ jobs
[1]+ Stopped ./IpLocations
Why is the program stopped afte calling bg?
How to resume a program in the background?
>/dev/nullwhen running the program../IpLocations > /dev/null– user544458 Oct 09 '22 at 08:03