Question
a.
*
b.
$
c.
[ ]
d.
%
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. Which of the following symbol is used for matching the immediate preceding character?
Similar Questions
Discover Related MCQs
Q. Which symbol is used for matching a single character?
View solution
Q. Which of the following symbols are used for matching a pattern at specified locations?
View solution
Q. The following command will match the lines beginning with ‘2’.
$ grep “^2” emp.lst
View solution
Q. Which of the following symbols are a set of ERE (extended regular expressions) ?
View solution
Q. Which option is used when we want to use an ERE with grep command?
View solution
Q. Which of the following symbols are used for matching multiple patterns?
View solution
Q. To perform context addressing, we have to enclose the pattern in ____
View solution
Q. To select lines containing gupta and agarwal, which command will be used?
View solution
Q. To write selected lines, ____ is used with sed.
View solution
Q. Which built-in variable is used by the awk to specify the line numbers?
View solution
Q. What is the default delimiter used by awk?
View solution
Q. The printf function uses ___ for string data and ___ for numeric.
View solution
Q. awk doesn’t use $ in evaluation or assignment of variables.
View solution
Q. A user-defined variable is initialized to ____
View solution
Q. awk uses ___ operator for concatenating strings.
View solution
Q. awk uses __ and __ as comparison operators.
View solution
Q. awk allows the user to use variables of his own choice.
View solution
Q. Which option is used for storing awk programs in a file?
View solution
Q. ____ section can be used if we’ve to print something after processing the last line.
View solution
Q. awk uses ____ for providing comments.
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!