Command line: search in long files for lines containing a particular string, and print to another file Created July 24, 2012 by Nirbhasa Magee Good one to use: grep “string_you are_searching_for” file_you_are_searching_in | awk ‘{ print $0 }’ > new_file Comments are closed.