ExamGecko
Question list
Search
Search

Question 452 - 200-901 discussion

Report
Export

Refer to the exhibit.

What occurs when the script runs?

A.

The contents of both files are displayed.

Answers
A.

The contents of both files are displayed.

B.

The total length of the files is displayed.

Answers
B.

The total length of the files is displayed.

C.

The files are combined.

Answers
C.

The files are combined.

D.

File differences are compared.

Answers
D.

File differences are compared.

Suggested answer: D

Explanation:

The diff command is used to compare the contents of two files and display the differences. The -u option stands for 'unified' and shows the differences in a unified format, which includes the lines that differ between the two files along with a few lines of context.

When running the command diff -u file1.txt file2.txt, it compares the two files and shows the differences between them.

GNU Diffutils: Unified Format

asked 07/10/2024
Chaston Williams
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first