How do I find the default editor in Linux?

How do I find the default editor in Linux?
Answer
The default editor is as defined by
the EDITOR , or VISUAL , environment variable(s). to your ~/. bashrc file to set, for example, nano as your default editor. In Ubuntu, there is a generic editor command which is set by the Debian alternatives system.
 

Tìm kiếm

Back
Top