Question
a.
wc infile >newfile
b.
wc <infile >newfile
c.
wc infile - newfile
d.
wc infile | newfile
Posted under Operating System
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?
View solution
Q. Which of the following commands is used to display the directory attributes rather than its contents?
View solution
Q. Which of the following files will displayed by this command cat *ch*
View solution
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:
View solution
Q. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use
View solution
Q. Which of the following is not a communication command.
View solution
Q. Which of the following keys is used to move the cursor to the end of the paragraph.
View solution
Q. Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?
View solution
Q. The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is
View solution
Q. Which command is used to remove a file?
View solution
Q. Which symbol is used to separate more than one command in the same command line?
View solution
Q. The agency that sits between the user and the UNIX system is called the
View solution
Q. Which of the following commands is used to update access and modification times of a file?
View solution
Q. Which command is used to count just the number of characters in a file?
View solution
Q. Which of the following commands is used to list contents of directories?
View solution
Q. Which command is used to display a file contents in octal form?
View solution
Q. Which command will be used with vi editor to insert text to left of cursor?
View solution
Q. In vi editor, forward search is performed using the command.
View solution
Q. Which of the following special shell variables is used to process number of the last background job?
View solution
Q. Which option will be used with ps command to slow the entire command line of the process being run?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Operating System? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!