setsid starts the program in a fresh session with no controlling terminal, so terminal close and SIGHUP do not kill it. Unlike a plain background job, it fully detaches from the login session. Pair it with nohup or systemd-run for long-running tasks.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.