search
Log In
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
2 votes
1.1k 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
recategorized by
1.1k 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

selected by

Related questions

1 vote
1 answer
1
992 views
Which of the following option with reference to UNIX operating system is not correct? INT signal is sent by the terminal driver when one types <Control-C> and it is a request to terminate the current operation TERM is a request to terminate execution completely. The ... exit QUIT is similat to TERM, except that it defaults to producing a core dump if not caught. KILL is a blockable signal
asked Aug 20, 2016 in Others jothee 992 views
3 votes
1 answer
2
1.4k views
In Unix, files can be protected by assigning each one a 9-bit mode called rights bits, now, consider the following two statements: A mode of 641 (octal) means that the owner can read and write the file, other members of the owner's group can read it, and users ... correct with reference to above statements? Only I is correct Only II is correct Both I and II are correct Both I and II are incorrect
asked Aug 21, 2016 in Operating System jothee 1.4k views
2 votes
1 answer
3
951 views
Which of the following statements is not correct with reference to cron daemon in UNIX OS? The cron daemon is the standard tool for running commands on a predetermined-schedule It starts when the system boots and runs as long as the system is up Cron reads configuration files that contain list of command lines and the times at which they invoked Crontab for individual users are not stored
asked Aug 21, 2016 in Operating System jothee 951 views
1 vote
1 answer
4
1.2k views
Which of the following information about the UNIX file system is not correct? Super block contains the number of i-nodes, the number of disk blocks, and the start of the list of free disk blocks An i-node contains accounting information as well as enough information to ... disk blocks that holds the file's data Each i-node is 256-bytes long All the files and directories are stored in data blocks
asked Jul 11, 2016 in Operating System Sanjay Sharma 1.2k views
...