Instead using “vi” editor in linux system, we usually use nano text editor to make everything easier. But not many people know how to search text in nano text editor. In this tutorial I will show you a very simple tips.
To enter the nano text editor you just need to type this line
Let ‘s say you are writing a lot of text and you want to find a string, then Ctrl + W is the shortcut for searching. After entering the search term, press Enter. To repeat the search, issue Alt + W. In this menu, you can select earlier searches using the arrow up/ down keys.
To toggle backwards searching, you need to press Alt + B in the search dialog.
For more shortcuts, press F1
Is it quite easy?