EZ Linux Admin random header image

Change default Linux text editor from VI to Pico

June 18th, 2009 by EZ linux · No Comments

pico

If only for the session just run this: export EDITOR=/usr/bin/pico

If you want to change it so every time it will use Pico do this:

Open the server command line

Run:

  1. export EDITOR=/usr/bin/pico
  2. pico ~/.bashrc

Add this line at the bottom of the file:

  1. export EDITOR=/usr/bin/pico

Save the file and your done.

This changes the server to always use Pico no matter when it’s being used.

Tags: Cheat Sheets · Linux Software / Scripts · Linux Tricks