PrepAway - Latest Free Exam Questions & Answers

How many words are present in the file file1.txt?

You work as a Network Administrator for McNeil Inc. The company has a Linux-based network.
You are a root user on the Red Hat operating system. You want to know how many words are
present in the file named file1.txt. You type the following command on the terminal: wc file1.txt.
The command displays the following output:
40 245 1800 file1.txt
How many words are present in the file file1.txt?

PrepAway - Latest Free Exam Questions & Answers

A.
40

B.
285

C.
245

D.
1800

Explanation:

From the above output, it is clear that 245 words are present in the file file.txt, as the second
column represents the number of words present in a file.


Leave a Reply