Hi, I am trying to get the difference between text files. There are many differences, and viewing them in the terminal makes it volatile, since I cannot save them. I want to view and save diff. How do I catch the output and print it in a text file?
The code I use to get diff is diff -i -w -B file1.txt file2.txt
source
share