Which of the following command is used with sed for outputting as well as printing the selected lines?

Which of the following command is used with sed for outputting as well as printing the selected lines? Correct Answer p

Generally, ‘p’ is used for printing lines. However, this command behaves in a strange manner i.e. it both displays and prints the selected lines. So the selected lines will appear twice.

Related Questions