NAME

setsid – run a program in a new session  

SYNOPSIS

setsid program [argument…]  

DESCRIPTION

setsid runs a program in a new session.  

OPTIONS

-c, –ctty
Set the controlling terminal to the current one.
-w, –wait
Wait for the execution of the program to end, and return the exit value of this program as the return value of setsid.
 

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.