I want to copy a content of a file starting from word (searched word/line) to the end of the file.
Example: File1:
this is a sample text for file1 in PA
this is a sample text for file1 in CA
this is a sample text for file1 in CT
this is a sample text for file1 in IL
this is a sample text for file1 in MI
end of the file.
I want to copy contents to file2 from line that has "CT" till the end of the file. Output : File2
this is a sample text for file1 in CT
this is a sample text for file1 in IL
this is a sample text for file1 in MI
end of the file.