Đinh Thu Trang
New member
How do I know if terminal is running?
Answer
Type Ctrl+Z to suspend the process and then bg to continue it in the background, then type
an empty line to the shell so it’ll check whether the program got stopped by a signal. If the process is trying to read from the terminal, it will immediately get a SIGTTIN signal and will get suspended.
Answer
Type Ctrl+Z to suspend the process and then bg to continue it in the background, then type
an empty line to the shell so it’ll check whether the program got stopped by a signal. If the process is trying to read from the terminal, it will immediately get a SIGTTIN signal and will get suspended.