Pico is a great command line editor, much more simple then say Vim , or ” vi ” which comes installed almost as a rule on your linux installation.
A few simple steps to Install Pico command line editor for linux
- The most simple way to install pico editor
- Log in to your root account via ssh, or the terminal if your accessing locally.
yum install nano
- cd to the bin directory
ln -s nano pico
- Next run to make pico the default editor:
Thats it !
To edit any file , just type “pico” (without the quotes) before the filename you wish to edit. Have fun!
If you do not like the easy quick way , then you can follow the latter part of this guide, enjoy
- Login to your server via SSH as root.
- cd (Change Directory) to your tmp directory
Before we install , lets make certain pico is not already on the system
rpm -q pine
If pico is not installed, your system will respond with: package pine is not installed
Depending on the flavor of linux your using, there are several options. We’ll use the linux version , hence the topic.
- The RPM must be installed
rpm -Uvh pine-4.64-1.i386.rpm
If you get the error : Failed dependencies : libcrypto.so.4 ect. you’ll need to install them separately for your distro.
Now you are ready to use pico.
To edit any specific file , simply type
After you type ” pico ” , place the file name you wish to edit.
You can also find a guide to use pico here at limeit.us
None the less , the commands are located at the bottom of the shell , or terminal , once you enter the file.Source: Pico installation and usage centOS