This question already has an answer here:
For example, a file
Hi how are you hello today is monday hello I am fine Hi how are you
After the processing of
file1.txt it should write to
file2.txt and contents should be like this without repeating the same lines.
Hi how are you hello today is monday I am fine
What command can I use to do that in linux terminal?