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.
Preface In typical imperative Python programs—including those that make use of classes and methods to hold their imperative code—a block...