Skip to content
Related Articles

Related Articles

Save Article
Improve Article
Save Article
Like Article

UGC-NET | UGC NET CS 2016 July – III | Question 67

  • Last Updated : 24 Apr, 2018

What is the function of following UNIX command ?

WC – l <a  >b&

(A) 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.
(B) 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.
(C) It counts the errors during the execution of a process, a, and puts the result in process b.
(D) It copies the ‘l’ numbers of lines of program from file, a, and stores in file b.


Answer: (B)

Explanation:

WC – l <a  >b&

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.
So, option (B) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :