What is a daemon process?
The daemon (Daemon process), which is usually called the Daemon process (daemon), is the background service process in Linux. It is a long-lived process, usually independent of the control terminal and periodically performs some sort of task or waits to handle certain occurrences.
The daemon is a special orphan process that is out of the terminal and why is it out of the terminal? The reason for leaving the terminal is to prevent the process from being interrupted by information generated by any terminal, and its information during execution is not displayed on any terminal. Because in Linux, each system communicates with the user interface called the terminal, every process that starts from this terminal will be attached to this terminal, this terminal is called the control terminal of these processes, when the control terminal is closed, the corresponding process will automatically shut down.
What is a daemon process?