When I do ps aux, I see a lot of processes. If I just do the ps ux still lot of processes. How do I differentiate or can see which processes are not attached to the terminal ( as 'x' in 'aux' defines it) ?
All processes with a tty:
All processes without a tty:
ps a --deselect
Once you have launched
ps aux, there is a column labeled TTY: this indicates which terminal the process is attached to. There will be none mentionned for the processes you are searching for. Try
ps aux|less if there are a lot of processes.
For information, the command
tty (teletypewriter) indicates the terminal you are connected to.