Windows command prompt: find command
Self-tutoring about Windows: the tutor mentions its find command.
Li|U|nix users love grep, which finds lines in a file that contain a certain string. Does Windows command prompt have a similar utility?
The answer is yes:
find /n “detail” file0.txt
will find the lines in file0.txt that contain the word “detail”, and output them with line numbers.
Neat, eh?
Source:
Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.
Leave a Reply
You must be logged in to post a comment.