📚 Practice Mode

Web Development and Unix Fundamentals

Learn at your own pace with hints and detailed explanations

1 / 20
Multiple Choice

What is the command to find the differences in the lines containing "1999" between the files orig.txt and copy.txt, and add the result to file result.1999?

  1. diff orig.txt -d copy.txt | grep 1999 > result.1999
  2. diff orig.txt copy.txt | grep 1999 >> result.1999
  3. grep 1999 *.txt >> result.1999
  4. diff orig.txt copy.txt | grep 1999 << result.1999