adplus-dvertising
frame-decoration

Question

Which option is used with sed for using multiple instructions?

a.

-f

b.

-n

c.

-e

d.

–f and -e

Posted under UNIX

Answer: (d).–f and -e

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which option is used with sed for using multiple instructions?

Similar Questions

Discover Related MCQs

Q. ____ option is used for taking instructions from a file.

Q. sed can also perform the substitution.

Q. Which one of the following is the correct syntax for performing substitution using sed?

Q. Which one of the following command is used for replacing | with : globally?

Q. To replace the string ‘director’ in the first five lines of file emp.lst with ‘manager’ we can use _____

Q. Which of the following characters are used with sed as anchoring characters?

Q. What will be the function of the following command?

$ sed ‘s/ *|/|/g’ emp.lst

Q. Basic regular expressions are divided into ______ categories.

Q. The interval regular expression uses the character _______

Q. Which one of the following command will be used for adding two spaces before every line in emp.lst?

Q. Which shortcut does sed offer to replace the string Linux with Red hat Linux?

Q. Which command will be used for selecting lines 3 to 10 from emp.lst?

Q. Which filter apart from perl, is the most powerful?

Q. Awk filter operates at field level.

Q. Which of the following will be used to print lines containing ‘manager’ in emp.lst?

Q. The default action if selection_criteria is missing is ____

Q. For pattern-matching, awk uses regular expressions in ____ style.

Q. awk uses ______ for splitting a line into fields.

Q. ____ section can be used if we’ve to print something before processing the first line.

Q. ____ function breaks up a string on the basis of delimiter.