setsid# Run a program in a new session, detached from the controlling tty. $ setsid ./long-running & $ setsid --fork ./daemon