Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to find and replace in nano editor

To find text in the current file, press CTRL+W, enter the wanted text and press ENTER. To see the next occurrence of that text, press ALT+W. If you want to perform a find and replace, press ALT+R, enter the text to find and press ENTER. Now enter the replacement text and Press ENTER again
 
PREVIOUS NEXT
Tagged: #find #replace #nano #editor
ADD COMMENT
Topic
Name
3+3 =