adspace
Answer Posted / Ravi Rawat
To stop an infinite loop in Unix, you can use the keyboard shortcut `Ctrl+C` or kill the process with its PID using the command `kill <PID>`. If a process won't terminate, you can try using `kill -9 <PID>`, but be careful as this forcefully kills the process without graceful shutdown.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers