Skip to content
Related Articles
Open in App
Not now

Related Articles

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

Improve Article
Save Article
Like Article
  • Last Updated : 24 Apr, 2018
Improve Article
Save Article
Like Article

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
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!