This question already has an answer here:
I ran a script from the command line today (php, not sure that matters) which has output I wanted to watch but I had to go home before it finished and I couldn't figure out how to exit without killing the script. Normally I just close the laptop (hibernate) but it doesn't appear the script finished.
Is there some keyboard combination I can hit to exit the terminal and leave the script running? It prints a log file too so I can just check it later.