Yes, I prefer nano over vi.
If you try to use nano on your Arduino Yún you might get the following error:
Error opening terminal: xterm-256color.
To get rid of that error, type this command into terminal:
This change would only last for the current terminal session. Now, to make this changes persist
$ echo "TERM=xterm-color" >> .bash_profile
As a bonus, if you want you can set nano as your default editor:
$ echo "EDITOR=nano" >> .bash_profile
I always seem to forget the difference between
.bashrcis only read by a shell that is both interactive and non-login
You can read more about it here: