How to find line of code of text files in Mac with Terminal