The nano and pico is very older version of the editor in the Linux and its very easy to handle as compare to the latest vi/vim editor. We can install and enable the the nano and pico editor by using the following commands.
yum install nano -y
The above command will install the nano editor and you have to set the alias for the pico editor by using the nano command binary, refer to the following commands to enable the pico editor.
cd /usr/bin/
ln -s nano pico
export EDITOR=”pico”
Now try to open/edit any by using the nano and pico command.