Which command sends the word count of the file infile to the newfile.
-
wc infile >newfile
-
wc <infile >newfile
-
wc infile - newfile
-
wc infile | newfile
A
Correct answer
Explanation
The > operator redirects the standard output of a command to a file. wc infile calculates the word count of the specified file, and >newfile saves that result into 'newfile'. Option 272 is also technically functional but less direct, while 273 and 274 use invalid syntax for this purpose.