Learn Raspberry Pi with Linux by Peter Membrey & David Hows

Learn Raspberry Pi with Linux by Peter Membrey & David Hows

Author:Peter Membrey & David Hows
Language: eng
Format: epub
ISBN: 9781430248217
Publisher: Apress


Saving Your File

Saving a blank text file is pretty boring, and it’s hard to tell if it saved correctly if all you have is a space character. We’re going to go for an old favorite here and punch in “Mary had a little lamb.”

Unlike some editors (most notably vim, which you’ll come across later), nano doesn’t have the concept of different modes. That is, when you type into nano, it will be interpreted as text to put into the file. Vim, on the other hand, stands in command mode, and if you just start typing, you will get some interesting results. As you might expect, pressing Enter after each line will take you to the beginning of the next line. After typing in the nursery rhyme, you should get something like Figure 6-5.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.