Forrest logo
back to the nohup tool

nohup:ai:07102

Execute the script but place it into the background. You will have to press Enter when your prompt seems to hang to return to your prompt.
$ nohup ./script.sh &
try on your machine

Runs the script 'script.sh' in the background using the 'nohup' command, allowing it to continue running even after the session is disconnected

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • Execute the script but place it into the background. You will have to press Enter when your prompt seems to hang to return to your prompt.?
back to the nohup tool