nohup alone doesn't detach from the terminal
@hk3narwhal▲ 5 net votes
nohup cmd & ignores SIGHUP but the job stays in the shell; setsid starts it in a new session.
nohup cmd & ignores SIGHUP but the job stays in the shell; setsid starts it in a new session.