The difference between disown, &, and nohup
filed in Linux, Mac OS X, Unix on Dec.29, 2011
& – This causes the application to run in the background. You will get a new shell prompt after issuing this command.
nohup and disown – Both of these prevent SIGHUP (hangup) signals so the application isn’t killed when the terminal session is closed. nohup does this when the job starts. disown can be used to make changes to an actively running job.



Leave a Reply
You must be logged in to post a comment.