FreeKB - Linux Fundamentals $EDITOR variable (default editor)
Linux Fundamentals - $EDITOR variable (default editor)

The global $EDITOR variable is used to define your default file editor, such as the vi or nano edtiors. You can define your preferred default file editor in your ~/.bash_profile or ~/.profile file, like this.

In this example, programs that are configured to use $EDITOR will use nano as the editor.

export EDITOR=nano

 

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 8706d in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |