Question
a.
wc -l
b.
wc -c
c.
wc -w
d.
wc -r
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 of the following command is used to count just the number of lines contained in a file?
Similar Questions
Discover Related MCQs
Q. Which of the following command is used to go to home directory?
View solution
Q. Which command is used to move all files to the bin sub-directory of the parent directory?
View solution
Q. Which command is used to save the standard output in a file, as well as display it on the terminal?
View solution
Q. The command that can be used to restrict incoming messages to a user is
View solution
Q. Which of the following commands is used to copy directory structures in and out
View solution
Q. Which of following commands is used for an automatic reminder service?
View solution
Q. Which command allows you to view your file 24 lines at a time?
View solution
Q. Which of the following special shell variables is used to process number of the current shell?
View solution
Q. Which option is used with cmp command to give a detailed list of the byte number and the differing bytes in octal for each character that differs in both the files?
View solution
Q. Which command is used with vi editor scroll half page backward?
View solution
Q. Which command is used with vi editor to move cursor forward to first occurrence of character 'ch' in the current line?
View solution
Q. Which of the following keys is used to delete the character beneath the cursor?
View solution
Q. Which command is used to assign only read permission to all three categories of the file 'note'?
View solution
Q. Which command will be used with vi editor to append text at end of line?
View solution
Q. The first set of the three permissions (rw) pertains to the owner of the file, indicating that the owner has
View solution
Q. Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?
View solution
Q. Which of the following shell's wildcards are used to match any number of characters including none?
View solution
Q. The command used to remove the directory is;
View solution
Q. Which symbol will be used with grep command to match the pattern pat at the end of a line?
View solution
Q. Which command is used to display all the lines with the string 'sales' from the file empl.lst?
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!