Unix - Engineering

Q1:

Which command sends the word count of the file infile to the newfile.

A wc infile >newfile

B wc <infile >newfile

C wc infile - newfile

D wc infile | newfile

E None of the above

ANS:A - wc infile >newfile

Agreed with @Rohit.

I was going to say the same thing also. A and B are both correct.

And also we need wc-w.