Your Question: How Do I Change the Default Text Editor in Linux?
Contents How Do I Change the Default Editor in Linux? How to Set the Default Text Editor in Linux Log in to Your Account Using Ssh. Open The. Bashrc File in...
Contents
How do I change the default editor in Linux?
How to set the default text editor in Linux
- Log in to your account using SSH.
- Open the . bashrc file in your preferred text editor.
- Add the following lines to the .bashrc file. …
- Save the changes to the . …
- To make the new default text editor settings take effect, log out of your account and then log back in.
Must Read
What is default editor in Linux?
Set Nano as the Default Text Editor
By default on most Linux systems, the default text editor for commands such as visudo and crontab is set to vi. To use nano as the default text editor, you need to change the VISUAL and EDITOR environment variables .