When I use visudo, it always opens it with nano editor. How to change the editor to vim?
Type sudo update-alternatives --config editor
You will get a text like below.
Source From Here Question I want to kill a whole process tree. What is the best way to do this using any common scripting languages? ...