Sunday, 28 February 2021

LINUX - HOW TO USE / COMMAND TO SEARCH IN A FILE

 LINUX - HOW TO USE / COMMAND TO SEARCH IN A FILE
 
The command is as follows:-
 

Command : The process is to edit the file using vi,vim or nano. In my case I am using VIM and will search the word NET in the fille test1.txt

I have performed a search for the word NET in the file test1.txt.

As we can see the word NET appears 4 times in the file.



No comments:

Post a comment