Question: What is the default editor configured in the system? Answer: Use below command to see what is default editor:
update-alternatives --display editor