Question
a.
-f
b.
-e
c.
-i
d.
-n
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 taking instructions from a file.
Similar Questions
Discover Related MCQs
Q. sed can also perform the substitution.
View solution
Q. Which one of the following is the correct syntax for performing substitution using sed?
View solution
Q. Which one of the following command is used for replacing | with : globally?
View solution
Q. To replace the string ‘director’ in the first five lines of file emp.lst with ‘manager’ we can use _____
View solution
Q. Which of the following characters are used with sed as anchoring characters?
View solution
Q. What will be the function of the following command?
$ sed ‘s/ *|/|/g’ emp.lst
View solution
Q. Basic regular expressions are divided into ______ categories.
View solution
Q. The interval regular expression uses the character _______
View solution
Q. Which one of the following command will be used for adding two spaces before every line in emp.lst?
View solution
Q. Which shortcut does sed offer to replace the string Linux with Red hat Linux?
View solution
Q. Which command will be used for selecting lines 3 to 10 from emp.lst?
View solution
Q. Which filter apart from perl, is the most powerful?
View solution
Q. Awk filter operates at field level.
View solution
Q. Which of the following will be used to print lines containing ‘manager’ in emp.lst?
View solution
Q. The default action if selection_criteria is missing is ____
View solution
Q. For pattern-matching, awk uses regular expressions in ____ style.
View solution
Q. awk uses ______ for splitting a line into fields.
View solution
Q. ____ section can be used if we’ve to print something before processing the first line.
View solution
Q. ____ function breaks up a string on the basis of delimiter.
View solution
Q. For running a UNIX command within awk, we’ve to use ____ function.
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!