No, tty is just a human-computer interaction device. Processes that do not require human-computer interaction do not need to be associated with a tty. For example, init does not have a dedicated tty. You can try ps -e | less You can observe that there are quite a lot of processes without dedicated tty.
No, tty is just a human-computer interaction device. Processes that do not require human-computer interaction do not need to be associated with a tty.
For example, init does not have a dedicated tty.
You can try ps -e | less
You can observe that there are quite a lot of processes without dedicated tty.