How to Search Text using Nano Editor

If you are logged into a remote server and trying to look into a huge file using the Nano text editor for the Terminal, you can make use of the keyboard shortcut Control + W.

Let's take a look at it step-by-step with screenshots.


Step 1: Open the file using Nano

% nano configuration_file.xml

Step 2: Press Ctrl + W to enter Search Mode

Control and W key to enter search mode in Nano

Step 3: Press Enter to locate the searched word/text

Press Enter to look for the searched word

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!