Start a process in a new session detached from the terminal.
Section: Backgrounding and Daemonization
Start in a new session
bash
bash
setsid ./server.shExplanation
Start a process in a new session detached from the terminal.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Backgrounding and Daemonization
Run command immune to hangups
Keep a process running after the shell exits.
Repeat command with watch
Re-run a command periodically for live monitoring.