ubuntu@ubuntu:~/c_enviroment/sample$ sudo apt-get install nano
A simple tutorial on how to use nano is: http://www.howtogeek.com/howto/42980/the-beginners-guide-to-nano-the-linux-command-line-text-editor/
One thing you may notice with this sketch, it compiles to the command line. This example shows how you can pass parameters to the sketch when calling it from the command line. This is optional as you will see in some of the other sketches, but does add some benefit to writing sketches to run on the pcDuino.
use Ctrl + O to save file use Ctrol + X to quit
More info can see on this page.