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
-

Facing issues? Have Questions? Post them here! I am happy to answer!


Author Info:

Rakesh is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X

Copyright © Code2care 2023 | Privacy Policy | About Us | Contact Us | Sitemap