CentOS: install pico editor

Trabla:  CentOS: install pico editor


Solving:

1. Install nano ( type command + press enter ):
yum install nano

2. Go to user bin directory ( type command + press enter ):
cd /usr/bin

3. Create symbolic link ( type command + press enter ):
ln -s nano pico

4. Export editor  ( type command + press enter ):
export EDITOR="pico"

That's all.

Use editor:

pico /var/any_text_file.txt 

or

sudo pico /var/any_text_file.txt


No comments:

Post a Comment