Bitcoin donations are welcome:14snQXeLcnJtWUduKZ6rC2MHdPYrYar1Tw

Monday, December 29, 2008

Mini how to use nano in Linux

Open your terminal.
Type "nano" to open the editor or "nano filename.txt" to open and edit a specified file.

Writing - Simply write as you are used to.
Saving - Ctrl+O --> [Enter]
Saving & Quiting - Ctrl+X --> Y --> [Enter]
Find in file - Ctrl+W --> Text to search for --> [Enter]
Go to line - Ctrl+W --> T --> Line to go to --> [Enter]
Find and replace - Ctrl+W --> Ctrl+R --> Text to search for --> Text to replace with --> Y (Replace one instance at a time), N (Do not replace this instance), A (Replace all instances).

1 comment:

  1. Thanks, just what I needed, short-n'-sweet...

    ReplyDelete