This is very nooby question I belive and I've tried everything to avoid asking it here, but I didn't found answere anywhere on whole internet.
Go on and give me downvote but please answer me how to keep execution of long-time-running-required bash script when aborted via CTRL+X or CTRL+C?
I want to execute command
$ sh myscript.shand to free up my terminal by CTRL+X / CTRL+C, script should continue to run next 10-20 min as required.
I want to execute php script like
$ php /path/to/myphpscript.phpand to free up my terminal by CTRL+X / CTRL+C, script should continue to run next 2 hours as required.
How to have that?
Cronjob is not my solution.