Question: What would happen if you have a script file named script that takes a long time to complete, and you type `nohup ./script &` in the command line?

  1. The script will remain running in the background even if you reboot the system.
  2. The script will run in your terminal and you will not be able to do anything until it completes.
  3. The script will run in the background until you end the session.
  4. The script will run in the background and will continue running even if you end the session.

Answer: The correct answer of the above question is Option C:The script will run in the background until you end the session.