What is the function of the following UNIX command?
wc -l a > b &
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
- Which of the following statements about the cron daemon in a UNIX operating system is NOT correct?
- In UNIX, which single command creates the directory "PIS" together with its two subdirectories "progs" and "data" (i.e. PIS/progs and PIS/d…
- Match List - I with List - II. List - I List - II A. Latency I. number of tasks completed in a given time period B. Delay II. causes the cu…
- In Rate Monotonic scheduling, if a task has a period of 80 ms and an execution time of 55 ms, then its processor utilization and task rate…
- Match the LIST-I with LIST-II. LIST-I LIST-II A. Disk Scheduling I. Round Robin B. Batch Processing II. SCAN C. Time Sharing III. LIFO D. I…
- For the reference string: (given that number of frames is 3) 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1 for the optimal page replacement algor…