I have to use Google chrome while running the terminal in the background. In fact if I press ctrl+c it shuts down with the Google chrome too. Why is it happening? Is there any way I can resume Google chrome after closing the terminal?If I try to close it, Google chrome gets closed too.
You can use this command:
<your_app> & disown
In this case:
google-chrome & disown
In the bash shell, the disown builtin command is used to remove jobs from the job table, or to mark jobs so that a SIGHUP signal is not sent to them if the parent shell receives it (e.g. if the user logs out).