All mock tests are FREE till 31 December — register to save your progress

What is the function of the following UNIX command?
wc -l a > b &

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. (B) It runs the word-count program to count the number of lines in its input, file a, writing the result to file b, but does it as a background process.

More System Software and Operating System questions