recategorized by
1,920 views
2 votes
2 votes

What is the function of following UNIX command?

WC - l<a   >b &

  1. It runs the word count program to count the number of lines in its input, a, writing the result to b, as a foreground process
  2. It runs the word count program to count the number of lines in its input, a, writing the result to b, but does it in the background
  3. It counts the error during the execution of the process, a, and puts the result in process b
  4. It copies the 'l' numbers of lines of program file, a, and stores in file b
recategorized by

1 Answer

Best answer
3 votes
3 votes
ans should be B

WC - l<a   >b &

WC for  word count   -l for line  <a input a  >  b ouput b  & for background

It runs the word count program to count the number of lines in its input, a, writing the result to b, but does it in the background
selected by
Answer:

Related questions