adplus-dvertising
frame-decoration

Question

Which command sends the word count of the file infile to the newfile.

a.

wc infile >newfile

b.

wc <infile >newfile

c.

wc infile - newfile

d.

wc infile | newfile

Posted under Operating System

Answer: (a).wc infile >newfile

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which command sends the word count of the file infile to the newfile.

Similar Questions

Discover Related MCQs

Q. Which command is used to remove the read permission of the file 'note' from both the group and others?

Q. Which of the following commands is used to display the directory attributes rather than its contents?

Q. Which of the following files will displayed by this command cat *ch*

Q. The Octal number to be given alogn with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is:

Q. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use

Q. Which of the following is not a communication command.

Q. Which of the following keys is used to move the cursor to the end of the paragraph.

Q. Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?

Q. The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is

Q. Which command is used to remove a file?

Q. Which symbol is used to separate more than one command in the same command line?

Q. The agency that sits between the user and the UNIX system is called the

Q. Which of the following commands is used to update access and modification times of a file?

Q. Which command is used to count just the number of characters in a file?

Q. Which of the following commands is used to list contents of directories?

Q. Which command is used to display a file contents in octal form?

Q. Which command will be used with vi editor to insert text to left of cursor?

Q. In vi editor, forward search is performed using the command.

Q. Which of the following special shell variables is used to process number of the last background job?

Q. Which option will be used with ps command to slow the entire command line of the process being run?