How to search and replace with nano text editor

Nano is a very compact and feature packed text editor commonly found on Linux and Unix based OS. One of the lesser used feature that is very useful is search & replace.

To Search and Replace text in the currently open file:

The search string can also be a regular expression.

One thought on “How to search and replace with nano text editor”

Leave a Reply

Your email address will not be published. Required fields are marked *