- Choosing an Editor: nano/pico or vi/vim
- Starting nano and Dabbling with It
- Saving in nano
- Cutting and Pasting Text Blocks in nano
- Checking Spelling in nano
- Getting Help in nano
- Exiting nano
- Starting vi (or vim) and Dabbling with It
- Saving in vi
- Adding and Deleting Text in vi
- Importing Files into vi
- Searching and Replacing in vi
- Exiting vi
Starting nano and Dabbling with It
You can start and dabble with nano using the following steps. Notice that the nano interface is intuitive and easy to navigate, as shown in .
nano offers an intuitive interface for editing text.
To start nano and dabble with it:
Type nano at the shell prompt. The program starts up, and you’ll see something like , with the text area up at the top of the window and the command hints at the bottom.
If you know the name of the file you want to edit, type nano at the shell prompt followed by the path and name of the file you want to edit (hairyspiders, for example).
Go ahead. Type something—anything—just to try it out.
- Use and to help edit text.
- Use the arrow keys to move up, down, right, or left.