Solved

Change editor to Pico

Posted on 2009-04-10
2
305 Views
Last Modified: 2012-05-06
I hate vim.  How can I change my default editor to pico?

I use CentOs 5.
0
Comment
Question by:hankknight
2 Comments
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 200 total points
ID: 24116166
some tools look for the env variable EDITOR, hence you can set it

EDITOR=pico ; export EDITOR
0
 
LVL 14

Accepted Solution

by:
small_student earned 300 total points
ID: 24121571
Hi Guys

I just want to follow up on this, you just need to put those two steps in your .bashrc file under your home directory, so you have the variable available after reboots and closing sesions and terminals..etc

under .bashrc

EDITOR=pico
export EDITOR
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now