Question
a.
-d
b.
-c
c.
-u
d.
-a
Posted under UNIX
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. ______ option is used for counting frequency of occurrence.
Similar Questions
Discover Related MCQs
Q. The output of the following command will be:
$ uniq foo1 foo2
View solution
Q. Which command is used for translating characters?
View solution
Q. To replace | with ~, which one of the following commands will be used?
View solution
Q. head -n 3 emp.lst | tr ‘[a-z]’ ‘[A-Z]’
Above command will change the case of text from lower to upper.
View solution
Q. Which option is used with tr command for deleting characters?
View solution
Q. ______ option is used for compressing multiple consecutive characters.
View solution
Q. If there are special characters in a pattern, then we’ve to enclose them in ______
View solution
Q. Which option is used with grep command for ignoring the case in pattern searching?
View solution
Q. Which option is used with grep command for deleting lines?
View solution
Q. Which option is used for displaying the line numbers containing the pattern along with lines?
View solution
Q. ______ option counts the number of lines containing the pattern?
View solution
Q. Which option displays only the filename containing the pattern?
View solution
Q. _____ option is used when we need to match multiple patterns in a single invocation of grep command?
View solution
Q. For taking patterns from a file, -f option is specified with grep command.
View solution
Q. POSIX identifies regular expressions as belonging to ____ categories.
View solution
Q. grep command supports both extended and regular expressions.
View solution
Q. Character class is used for matching a group of characters enclosed within a pair of _____
View solution
Q. The following command will match ‘Agarwal’, ‘agarwal’ and ‘agrawal’.
$ grep “[aA]g[ar][ar]wal” emp.lst
View solution
Q. Which of the following symbol is used for matching the immediate preceding character?
View solution
Q. Which symbol is used for matching a single character?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? 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!