Hello I am trying to get the difference between to text files. There are a lot of differences and viewing them in terminal is making it volatile since I cannot save them. I want to view and save the diff. How would I catch the output and print it to a text file??
Code I am using for getting the diff is diff -i -w -B file1.txt file2.txt