adspace


How to stop an infinite loop in unix?

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


Please Help Members By Posting Answers For Below Questions

How can you edit a large file without opening it in unix?

988