'How to kill nodejs script from console. If i use while cycle - linuxmint

How to kill nodejs from console. If I use while(true) cycle. What i need to add in my script to kill Ctrl+c My os is linux mint. Thank you for your help.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source