The Gateway to Computer Science Excellence
+2 votes
842 views

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
in Others by Veteran (105k points)
recategorized by | 842 views

1 Answer

+3 votes
Best answer
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
by Boss (48.8k points)
selected by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,647 questions
56,491 answers
195,437 comments
100,670 users